summaryrefslogtreecommitdiffstats
path: root/gmagick.patch
diff options
context:
space:
mode:
authorRemi Collet <fedora@famillecollet.com>2012-06-10 07:06:04 +0200
committerRemi Collet <fedora@famillecollet.com>2012-06-10 07:06:04 +0200
commit1849a9b3c4cab7610e0880d233bdc22143a60839 (patch)
treef2c24e9e5874b914beb16a47453f8fe187cb614c /gmagick.patch
repo reorg
Diffstat (limited to 'gmagick.patch')
-rw-r--r--gmagick.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/gmagick.patch b/gmagick.patch
new file mode 100644
index 0000000..391efda
--- /dev/null
+++ b/gmagick.patch
@@ -0,0 +1,12 @@
+diff -up gmagick-1.1.0RC2/gmagickpixel_methods.c.orig gmagick-1.1.0RC2/gmagickpixel_methods.c
+--- gmagick-1.1.0RC2/gmagickpixel_methods.c.orig 2012-01-21 07:42:13.727957934 +0100
++++ gmagick-1.1.0RC2/gmagickpixel_methods.c 2012-01-21 07:43:09.328959265 +0100
+@@ -82,7 +82,7 @@ PHP_METHOD(gmagickpixel, getcolor)
+ zend_bool as_array = 0, normalise_array = 0;
+
+ /* Parse parameters given to function */
+- if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|b", &as_array, &normalise_array) == FAILURE) {
++ if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|bb", &as_array, &normalise_array) == FAILURE) {
+ return;
+ }
+