From 7b76caee7fd36f7e4e00fde2490c7e91251afb31 Mon Sep 17 00:00:00 2001 From: Remi Collet Date: Mon, 3 Mar 2014 14:59:09 +0100 Subject: php-pecl-gmagick: add fix for php 5.6 --- gmagick-php56.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 gmagick-php56.patch (limited to 'gmagick-php56.patch') 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(); -- cgit