Hi,
Do you mind if I NMU php-imlib? The fix for "call-time
pass-by-reference" is quite trivial. I've attached the patch.
Cheers,
Thomas
diff -u -N -r php-imlib-0.7/docs/class.ImlibImage.php php-imlib-0.7.new/docs/class.ImlibImage.php
--- php-imlib-0.7/docs/class.ImlibImage.php 2001-01-10 08:22:19.000000000 +0000
+++ php-imlib-0.7.new/docs/class.ImlibImage.php 2012-05-08 16:58:11.000000000 +0000
@@ -237,7 +237,7 @@
if (!is_resource($this->id))
return false;
- if (!imlib_dump_image($this->id,&$err,$quality))
+ if (!imlib_dump_image($this->id,$err,$quality))
return false;
else
return true;
diff -u -N -r php-imlib-0.7/docs/class.ImlibPoly.php php-imlib-0.7.new/docs/class.ImlibPoly.php
--- php-imlib-0.7/docs/class.ImlibPoly.php 2001-01-09 19:53:21.000000000 +0000
+++ php-imlib-0.7.new/docs/class.ImlibPoly.php 2012-05-08 16:58:41.000000000 +0000
@@ -147,7 +147,7 @@
if (!is_resource($this->poly))
return false;
- imlib_polygon_get_bounds($this->poly,&$x1,&$y1,&$x2,&$y2);
+ imlib_polygon_get_bounds($this->poly,$x1,$y1,$x2,$y2);
}
/**
diff -u -N -r php-imlib-0.7/docs/class.ImlibText.php php-imlib-0.7.new/docs/class.ImlibText.php
--- php-imlib-0.7/docs/class.ImlibText.php 2001-01-09 19:53:21.000000000 +0000
+++ php-imlib-0.7.new/docs/class.ImlibText.php 2012-05-08 16:59:03.000000000 +0000
@@ -102,7 +102,7 @@
if (!is_resource($this->fnt))
return false;
- return imlib_get_text_size($this->fnt,$str,&$fw,&$fh,$dir);
+ return imlib_get_text_size($this->fnt,$str,$fw,$fh,$dir);
}
/**