diff -u phpldapadmin-1.1.0.7/debian/changelog phpldapadmin-1.1.0.7/debian/changelog --- phpldapadmin-1.1.0.7/debian/changelog +++ phpldapadmin-1.1.0.7/debian/changelog @@ -1,3 +1,11 @@ +phpldapadmin (1.1.0.7-1.2ubuntu3) lucid; urgency=low + + * debian/patches/ignore-deprecated.dpatch: Deprecated warnings render the + application unusable. Patch ignores these warnings. Upstream 1.2+ version + has fixed the application. (LP: #551269) + + -- Stefan Lesicnik Tue, 04 May 2010 12:49:40 +0200 + phpldapadmin (1.1.0.7-1.2ubuntu2) lucid; urgency=low * debian/patches/fix-ajax-estrict-declaration.dpatch: Fix E_STRICT diff -u phpldapadmin-1.1.0.7/debian/patches/00list phpldapadmin-1.1.0.7/debian/patches/00list --- phpldapadmin-1.1.0.7/debian/patches/00list +++ phpldapadmin-1.1.0.7/debian/patches/00list @@ -3,0 +4 @@ +ignore-deprecated.dpatch only in patch2: unchanged: --- phpldapadmin-1.1.0.7.orig/debian/patches/ignore-deprecated.dpatch +++ phpldapadmin-1.1.0.7/debian/patches/ignore-deprecated.dpatch @@ -0,0 +1,22 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## Description: Ignore deprecation warnings +## Origin/Author: Mandrake +## Bug: https://bugs.edge.launchpad.net/ubuntu/lucid/+source/phpldapadmin/+bug/551269 +## ignore-deprecated.dpatch by +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Ignore deprecation warnings + +@DPATCH@ +diff -urNad phpldapadmin-1.1.0.7~/lib/common.php phpldapadmin-1.1.0.7/lib/common.php +--- phpldapadmin-1.1.0.7~/lib/common.php 2008-12-13 10:57:09.000000000 +0200 ++++ phpldapadmin-1.1.0.7/lib/common.php 2010-05-04 12:46:17.120036407 +0200 +@@ -129,7 +129,7 @@ + ob_end_clean(); + + # We are now ready for error reporting. +-error_reporting(E_ALL); ++error_reporting(E_ALL & ~E_DEPERCATED); + + # Start our session. + pla_session_start();