aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/php5/files/patch-configure56
-rw-r--r--lang/php53/files/patch-configure56
2 files changed, 100 insertions, 12 deletions
diff --git a/lang/php5/files/patch-configure b/lang/php5/files/patch-configure
index a56d0519cb51..a1219ce6bda7 100644
--- a/lang/php5/files/patch-configure
+++ b/lang/php5/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Mon Oct 11 15:51:58 2004
-+++ configure Mon Oct 11 15:52:26 2004
-@@ -2649,7 +2649,7 @@
+--- configure.orig Sun Apr 3 11:42:50 2005
++++ configure Wed Apr 6 16:41:26 2005
+@@ -2805,7 +2805,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
@@ -9,7 +9,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
-@@ -10613,7 +10613,7 @@
+@@ -11201,7 +11201,7 @@
if test "$enable_maintainer_zts" = "yes"; then
if test -n "$ac_cv_pthreads_lib"; then
@@ -18,7 +18,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
-@@ -10630,8 +10630,6 @@
+@@ -11218,8 +11218,6 @@
case $host_alias in
*solaris*)
PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
@@ -27,7 +27,51 @@
*linux*)
PTHREAD_FLAGS=-D_REENTRANT;;
*aix*)
-@@ -88453,7 +88451,7 @@
+@@ -80628,6 +80626,10 @@
+ #line 80629 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -80685,6 +80687,10 @@
+ #line 80686 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -80742,6 +80748,10 @@
+ #line 80743 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -80837,6 +80847,10 @@
+ #line 80838 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -92387,7 +92401,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
diff --git a/lang/php53/files/patch-configure b/lang/php53/files/patch-configure
index a56d0519cb51..a1219ce6bda7 100644
--- a/lang/php53/files/patch-configure
+++ b/lang/php53/files/patch-configure
@@ -1,6 +1,6 @@
---- configure.orig Mon Oct 11 15:51:58 2004
-+++ configure Mon Oct 11 15:52:26 2004
-@@ -2649,7 +2649,7 @@
+--- configure.orig Sun Apr 3 11:42:50 2005
++++ configure Wed Apr 6 16:41:26 2005
+@@ -2805,7 +2805,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
@@ -9,7 +9,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
-@@ -10613,7 +10613,7 @@
+@@ -11201,7 +11201,7 @@
if test "$enable_maintainer_zts" = "yes"; then
if test -n "$ac_cv_pthreads_lib"; then
@@ -18,7 +18,7 @@
fi
if test -n "$ac_cv_pthreads_cflags"; then
-@@ -10630,8 +10630,6 @@
+@@ -11218,8 +11218,6 @@
case $host_alias in
*solaris*)
PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
@@ -27,7 +27,51 @@
*linux*)
PTHREAD_FLAGS=-D_REENTRANT;;
*aix*)
-@@ -88453,7 +88451,7 @@
+@@ -80628,6 +80626,10 @@
+ #line 80629 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -80685,6 +80687,10 @@
+ #line 80686 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -80742,6 +80748,10 @@
+ #line 80743 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -80837,6 +80847,10 @@
+ #line 80838 "configure"
+ #include "confdefs.h"
+
++#if HAVE_UNISTD_H
++#include <unistd.h>
++#endif
++
+ #if HAVE_CRYPT_H
+ #include <crypt.h>
+ #endif
+@@ -92387,7 +92401,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then