summaryrefslogtreecommitdiff
path: root/lang/php5/files/patch-Zend__zend.h
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-29 17:12:47 +0000
commit08a006d08a4c35d2c3ecc9a3d10cf7fd14661a84 (patch)
tree0cfc4f0736babb895eb97a65c6defe632a0249c7 /lang/php5/files/patch-Zend__zend.h
parenteditors/fte: update to 20110708 (diff)
Rename all patches that contain '::' as a path separator, and use
'__' instead.
Notes
Notes: svn path=/head/; revision=363362
Diffstat (limited to 'lang/php5/files/patch-Zend__zend.h')
-rw-r--r--lang/php5/files/patch-Zend__zend.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/lang/php5/files/patch-Zend__zend.h b/lang/php5/files/patch-Zend__zend.h
new file mode 100644
index 000000000000..2b565146f7de
--- /dev/null
+++ b/lang/php5/files/patch-Zend__zend.h
@@ -0,0 +1,11 @@
+--- Zend/zend.h.orig 2013-12-10 19:32:43.000000000 +0000
++++ Zend/zend.h 2013-12-13 21:55:53.836235768 +0000
+@@ -180,7 +180,7 @@ char *alloca ();
+ #endif
+ #define restrict __restrict__
+
+-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN)
++#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(DARWIN) && !(defined(ZTS) && defined(__FreeBSD__))
+ # define ZEND_ALLOCA_MAX_SIZE (32 * 1024)
+ # define ALLOCA_FLAG(name) \
+ zend_bool name;