Bug#660379: libjifty-plugin-chart-perl: FTBFS due to failing test

Florian Schlichting fschlich at ZEDAT.FU-Berlin.DE
Mon Mar 19 21:23:33 UTC 2012


reassign 660379 libchart-perl 2.4.4-1
retitle 660379 libchart-perl 2.4.4 breaks the return value of scalar_png()
affects 660379 + libjifty-plugin-chart-perl
thanks

as I wrote almost two weeks ago, this issue should really be fixed in
Chart, and I think the patch is almost self-explanatory:

--- a/Chart/Base.pm
+++ b/Chart/Base.pm
@@ -502,8 +502,7 @@
 
     # returns the png image as a scalar value, so that
     # the programmer/user can do whatever the she/he wants to with it
-    $self->{'gd_obj'}->png();
-    return 1;
+    return $self->{'gd_obj'}->png();
 }
 
 ## @method int jpeg($file,$dataref)


Florian





More information about the pkg-perl-maintainers mailing list