freebsd-ports/lang/php4/files/patch-configure
Alex Dupre af7695c0ae Update to 4.3.9 release:
- Fix compilation of thread-safe PHP after the PTHREAD_LIBS change
- Include md5 and blowfish support on amd64 (fix headers) [1]
- Fix vulnerability in RFC 1867 file upload processing [2]
- Fix php_variables memory disclosure [2]
- GD LZW-GIF support is now enabled by default

PR:		ports/71752 [1], ports/72420 [2]
Submitted by:	Adam Gregoire <bsdunx@yahoo.com> [1],
		Dmitry A Grigorovich <odip@bionet.nsc.ru> [2]
Approved by:	portmgr (kris)
2004-10-11 19:47:20 +00:00

38 lines
983 B
Text

--- configure.orig Mon Oct 11 15:56:07 2004
+++ configure Mon Oct 11 15:56:28 2004
@@ -2672,7 +2672,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
- LIBS="$LIBS -l$ac_cv_pthreads_lib"
+ LIBS="$LIBS $ac_cv_pthreads_lib"
fi
if test -n "$ac_cv_pthreads_cflags"; then
@@ -8934,7 +8934,7 @@
if test "$enable_experimental_zts" = "yes"; then
if test -n "$ac_cv_pthreads_lib"; then
- LIBS="$LIBS -l$ac_cv_pthreads_lib"
+ LIBS="$LIBS $ac_cv_pthreads_lib"
fi
if test -n "$ac_cv_pthreads_cflags"; then
@@ -8951,8 +8951,6 @@
case $host_alias in
*solaris*)
PTHREAD_FLAGS="-D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT";;
- *freebsd*)
- PTHREAD_FLAGS="-D_REENTRANT -D_THREAD_SAFE";;
*linux*)
PTHREAD_FLAGS=-D_REENTRANT;;
*aix*)
@@ -89623,7 +89621,7 @@
save_LIBS=$LIBS
if test -n "$ac_cv_pthreads_lib"; then
- LIBS="$LIBS -l$ac_cv_pthreads_lib"
+ LIBS="$LIBS $ac_cv_pthreads_lib"
fi
if test -n "$ac_cv_pthreads_cflags"; then