aboutsummaryrefslogtreecommitdiffstats
path: root/lang/php5
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2005-04-06 22:43:55 +0800
committerale <ale@FreeBSD.org>2005-04-06 22:43:55 +0800
commit98c949fdbb526d3e8c72c2558697c7c485f6883a (patch)
treee0ea07d21e0fc40391564e10e05f8dc3d434f59a /lang/php5
parent76c49f15f02d8baee51ab215a57528ffa1378599 (diff)
downloadfreebsd-ports-gnome-98c949fdbb526d3e8c72c2558697c7c485f6883a.tar.gz
freebsd-ports-gnome-98c949fdbb526d3e8c72c2558697c7c485f6883a.tar.zst
freebsd-ports-gnome-98c949fdbb526d3e8c72c2558697c7c485f6883a.zip
Fix crypt functions on AMD64.
Diffstat (limited to 'lang/php5')
-rw-r--r--lang/php5/files/patch-configure56
1 files changed, 50 insertions, 6 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