aboutsummaryrefslogtreecommitdiff
path: root/lang/php53/files/patch-Zend::zend.h
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2005-01-10 17:00:34 +0000
committerAlex Dupre <ale@FreeBSD.org>2005-01-10 17:00:34 +0000
commitaa4d81d3be6bcd9281b5a8e0987a3bbfbf9e0794 (patch)
tree0ceb731bd69e281e6da2a6d68144727867ef6aba /lang/php53/files/patch-Zend::zend.h
parent3fdf71fa1aa55a91ff217ee6c6f35a4b03af4735 (diff)
- Fix overloading objects [1] (bump php4 PORTREVISION)
- Fix crash with threaded apache2 [2] - Fix build when SSL is in not in base system [3] [4] PR: ports/75737 [1], ports/74780 [2], ports/73896 [3], ports/74886 [4] Submitted by: Toni Viemero <toni.viemero@iki.fi> [1], Peter Jeffery <peterj@qubesoft.com> [2], oliver [3], William Fletcher <ultraviolet@omina.co.za> [4] Patch by: Simon Barner <barner@gmx.de> [4]
Notes
Notes: svn path=/head/; revision=126071
Diffstat (limited to 'lang/php53/files/patch-Zend::zend.h')
-rw-r--r--lang/php53/files/patch-Zend::zend.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/php53/files/patch-Zend::zend.h b/lang/php53/files/patch-Zend::zend.h
new file mode 100644
index 000000000000..50625c403417
--- /dev/null
+++ b/lang/php53/files/patch-Zend::zend.h
@@ -0,0 +1,12 @@
+--- Zend/zend.h.orig Mon Dec 6 15:42:56 2004
++++ Zend/zend.h Mon Dec 6 15:46:40 2004
+@@ -176,7 +176,7 @@
+ #endif
+
+
+-#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__)
++#if (HAVE_ALLOCA || (defined (__GNUC__) && __GNUC__ >= 2)) && !(defined(ZTS) && defined(ZEND_WIN32)) && !(defined(ZTS) && defined(NETWARE)) && !(defined(ZTS) && defined(HPUX)) && !defined(__darwin__) && !defined(__APPLE__) && !(defined(ZTS) && defined(__FreeBSD__))
+ # define do_alloca(p) alloca(p)
+ # define free_alloca(p)
+ #else
+