summaryrefslogtreecommitdiffstats
path: root/imagick-zts.patch
diff options
context:
space:
mode:
Diffstat (limited to 'imagick-zts.patch')
-rw-r--r--imagick-zts.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/imagick-zts.patch b/imagick-zts.patch
new file mode 100644
index 0000000..271fdf4
--- /dev/null
+++ b/imagick-zts.patch
@@ -0,0 +1,20 @@
+--- imagick-3.1.1/imagick_class.c 2013-09-22 14:01:16.000000000 +0200
++++ imagick-3.1.1-zts/imagick_class.c 2013-09-22 14:14:29.285128053 +0200
+@@ -6637,7 +6637,7 @@
+ }
+
+ static
+-void s_add_named_strings (zval *array, const char *haystack)
++void s_add_named_strings (zval *array, const char *haystack TSRMLS_DC)
+ {
+ int done = 0;
+ char *line, *last_ptr = NULL, *buffer;
+@@ -6714,7 +6714,7 @@
+
+ // Name of the image
+ s_add_assoc_str (return_value, "imageName", MagickGetImageFilename (intern->magick_wand), 1);
+- s_add_named_strings (return_value, identify);
++ s_add_named_strings (return_value, identify TSRMLS_CC);
+
+ // Geometry is an associative array
+ MAKE_STD_ZVAL (array);