summaryrefslogtreecommitdiff
path: root/graphics/pear-Image_Canvas/files/patch-Image__Canvas.php
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2010-06-02 16:28:38 +0000
committerMartin Wilke <miwi@FreeBSD.org>2010-06-02 16:28:38 +0000
commitbe38e153235fc83bbeb903ee06ec0a05c7116d6b (patch)
tree58f139d3cbd75c1820458c4eaf7f748e84fff0d3 /graphics/pear-Image_Canvas/files/patch-Image__Canvas.php
parentTomboy-LaTeX is a plugin for the desktop note-taking application Tomboy. It (diff)
- Update to 0.3.2
PR: 146453 Submitted by: olli hauer <ohauer@gmx.de> (maintainer)
Notes
Notes: svn path=/head/; revision=255557
Diffstat (limited to 'graphics/pear-Image_Canvas/files/patch-Image__Canvas.php')
-rw-r--r--graphics/pear-Image_Canvas/files/patch-Image__Canvas.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/graphics/pear-Image_Canvas/files/patch-Image__Canvas.php b/graphics/pear-Image_Canvas/files/patch-Image__Canvas.php
new file mode 100644
index 000000000000..98fa4e0a11d7
--- /dev/null
+++ b/graphics/pear-Image_Canvas/files/patch-Image__Canvas.php
@@ -0,0 +1,20 @@
+--- ./Image/Canvas.php.orig 2010-05-15 11:53:04.000000000 +0200
++++ ./Image/Canvas.php 2010-05-15 11:53:51.000000000 +0200
+@@ -730,7 +730,7 @@
+
+ $error = 'PHP extension ming is required for output in swf format.';
+ $error .= 'Please install the ming extension (http://de.php.net/ming).';
+- $error =& new PEAR_Error($error);
++ $error = new PEAR_Error($error);
+ return $error;
+ }
+ }
+@@ -742,7 +742,7 @@
+ $class = 'Image_Canvas_'. $canvas;
+ include_once 'Image/Canvas/'. str_replace('_', '/', $canvas) . '.php';
+
+- $obj =& new $class($params);
++ $obj = new $class($params);
+ return $obj;
+ }
+