Please unblock libphp-jpgraph_1.5.2-11+u1
Hello
After some days without reaction to a patch that fixes an RC bug in
libphp-jpgraph I now uploaded a NMU to unstable. Please unblock!
bye,
-christian-
$ debdiff libphp-jpgraph_1.5.2-11.dsc libphp-jpgraph_1.5.2-11+u1.dsc
diff -u libphp-jpgraph-1.5.2/src/jpgraph.php libphp-jpgraph-1.5.2/src/jpgraph.php
--- libphp-jpgraph-1.5.2/src/jpgraph.php
+++ libphp-jpgraph-1.5.2/src/jpgraph.php
@@ -246,7 +246,9 @@
//user
//
if( isset($GLOBALS['php_errormsg']) ) {
- JpGraphError::Raise("<b>General PHP error:</b><br>".$GLOBALS['php_errormsg']);
+ // Disabled by Debian to prevent showing PHP5 warnings
+ // ("Non-static method called statically")
+ // JpGraphError::Raise("<b>General PHP error:</b><br>".$GLOBALS['php_errormsg']);
}
//
diff -u libphp-jpgraph-1.5.2/debian/changelog libphp-jpgraph-1.5.2/debian/changelog
--- libphp-jpgraph-1.5.2/debian/changelog
+++ libphp-jpgraph-1.5.2/debian/changelog
@@ -1,3 +1,14 @@
+libphp-jpgraph (1.5.2-11+u1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Applied patch that prevented PHP5 compile time generated warning
+ "Non-static method called statically" to appear on screen and corrupts
+ the output of graphics. The usual error_reporting and display_errors
+ had no effect as a custom error handler was installed by the library.
+ Closes: #436289
+
+ -- Christian Hammers <ch@debian.org> Sat, 10 Jan 2009 00:10:30 +0100
+
libphp-jpgraph (1.5.2-11) unstable; urgency=low
* Added support for php5(-gd), reviewed all example that seems to work
Reply to: