summaryrefslogtreecommitdiffstats
path: root/gmagick-php56.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gmagick-php56.patch')
-rw-r--r--gmagick-php56.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/gmagick-php56.patch b/gmagick-php56.patch
new file mode 100644
index 0000000..68306f3
--- /dev/null
+++ b/gmagick-php56.patch
@@ -0,0 +1,14 @@
+--- pecl/gmagick/trunk/gmagick.c 2014/02/13 16:24:02 332848
++++ pecl/gmagick/trunk/gmagick.c 2014/03/03 13:44:25 332912
+@@ -1232,7 +1232,11 @@
+ return FAILURE;
+
+ InitializeMagick(cwd);
++#if PHP_VERSION_ID < 50600
+ free(cwd);
++#else
++ efree(cwd);
++#endif
+
+ /* init constants */
+ php_gmagick_initialize_constants();