summaryrefslogtreecommitdiff
path: root/development/ming/patch-ming.c.diff
diff options
context:
space:
mode:
authorDavid Spencer <baildon.research@googlemail.com>2015-07-23 18:37:19 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commit2f34ffad4bf8f309fcadbce7302691528826f080 (patch)
treeb6fbc9dc773254b6e783c7babb8070c04f785001 /development/ming/patch-ming.c.diff
parent623c66c7c27a6b7e254e4a975b4bec5dc5d01a6d (diff)
downloadslackbuilds-2f34ffad4bf8f309fcadbce7302691528826f080.tar.gz
development/ming: Updated for version 0.4.7.
Fixes build failure with giflib-5.1 on -current. Signed-off-by: David Spencer <baildon.research@googlemail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'development/ming/patch-ming.c.diff')
-rw-r--r--development/ming/patch-ming.c.diff22
1 files changed, 0 insertions, 22 deletions
diff --git a/development/ming/patch-ming.c.diff b/development/ming/patch-ming.c.diff
deleted file mode 100644
index 9465b56281..0000000000
--- a/development/ming/patch-ming.c.diff
+++ /dev/null
@@ -1,22 +0,0 @@
-http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=662620
---- ming.c.orig 2011-10-26 01:33:18.000000000 -0500
-+++ ming.c 2012-05-14 17:06:09.000000000 -0500
-@@ -87,10 +87,17 @@
- static SWFMatrix getMatrix(zval *id TSRMLS_DC);
- #endif
-
-+#if PHP_API_VERSION < 20100412
- #define PHP_MING_FILE_CHK(file) \
- if ((PG(safe_mode) && !php_checkuid((file), NULL, CHECKUID_CHECK_FILE_AND_DIR)) || php_check_open_basedir((file) TSRMLS_CC)) { \
- RETURN_FALSE; \
-- } \
-+ }
-+#else
-+#define PHP_MING_FILE_CHK(file) \
-+ if (php_check_open_basedir((file) TSRMLS_CC)) { \
-+ RETURN_FALSE; \
-+ }
-+#endif
-
- /* {{{ proto void ming_setcubicthreshold (int threshold)
- Set cubic threshold (?) */