On Sun, Nov 20, 2005 at 11:38:55AM +0100, Lionel Elie Mamane wrote:
> I've uploaded an NMU of nag to tfheen's delayed queue on gluck to
> fix this bug. It will be uploaded to Debian in 7 days. If you (Fabio
> Rafael da Rosa <[EMAIL PROTECTED]>) oppose this, I'll
> immediately cancel it.
Here's the patch.
--
Lionel
diff --recursive -u nag-1.1.bak/debian/changelog nag-1.1/debian/changelog
--- nag-1.1.bak/debian/changelog 2005-11-20 10:42:53.033957758 +0100
+++ nag-1.1/debian/changelog 2005-11-20 10:39:48.789760675 +0100
@@ -1,3 +1,13 @@
+nag (1.1-3.2) unstable; urgency=low
+
+ * NMU
+ * PHP4.4 compatibility: Fix "Only variable references should be returned
+ by reference" error messages (closes: #323267)
+ * Drop dependency on apache-common (closes: #305349)
+ * Drop "new" from the reference to Horde2 - it is old by now.
+
+ -- Lionel Elie Mamane <[EMAIL PROTECTED]> Sun, 20 Nov 2005 10:39:48 +0100
+
nag (1.1-3.1) unstable; urgency=HIGH
* NMU
diff --recursive -u nag-1.1.bak/debian/control nag-1.1/debian/control
--- nag-1.1.bak/debian/control 2005-11-20 10:42:53.033957758 +0100
+++ nag-1.1/debian/control 2005-11-20 10:39:54.720929018 +0100
@@ -7,10 +7,10 @@
Package: nag
Architecture: all
-Depends: horde2 (>=2.1), php4-pgsql | php4-mysql, wwwconfig-common,
apache-common
+Depends: horde2 (>=2.1), php4-pgsql | php4-mysql, wwwconfig-common
Description: Multiuser Task List Manager
Nag is a set of PHP scripts that implement a simple, multiuser task
list manager. It supports items, things to do later this week, etc.
It is very similar in functionality to Palm ToDo application
.
- It makes extensive use of the new Horde 2.0 web application framework.
+ It makes extensive use of the Horde 2.0 web application framework.
diff --recursive -u nag-1.1.bak/lib/Driver.php nag-1.1/lib/Driver.php
--- nag-1.1.bak/lib/Driver.php 2002-12-17 04:48:19.000000000 +0100
+++ nag-1.1/lib/Driver.php 2005-11-20 10:41:24.128422320 +0100
@@ -61,7 +61,8 @@
include_once dirname(__FILE__) . '/Driver/' . $driver . '.php';
$class = 'Nag_Driver_' . $driver;
if (class_exists($class)) {
- return new $class($user, $params);
+ $result = new $class($user, $params);
+ return $result;
} else {
return false;
}