From aa4d81d3be6bcd9281b5a8e0987a3bbfbf9e0794 Mon Sep 17 00:00:00 2001 From: Alex Dupre Date: Mon, 10 Jan 2005 17:00:34 +0000 Subject: - 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 [1], Peter Jeffery [2], oliver [3], William Fletcher [4] Patch by: Simon Barner [4] --- lang/php4/files/patch-Zend::zend.h | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 lang/php4/files/patch-Zend::zend.h (limited to 'lang/php4/files/patch-Zend::zend.h') diff --git a/lang/php4/files/patch-Zend::zend.h b/lang/php4/files/patch-Zend::zend.h new file mode 100644 index 000000000000..50625c403417 --- /dev/null +++ b/lang/php4/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 + -- cgit v1.2.3