ports/lang/php5/files/patch-configure
Alex Dupre 0a6d8fdafa Update to 5.0.2 release:
- Fix compilation of thread-safe PHP after the PTHREAD_LIBS change
- Include md5 and blowfish support on amd64 (fix headers) [1]
- Add support for dom_import_simplexml function in php5-dom [2]
- Fix vulnerability in RFC 1867 file upload processing [3]
- Fix php_variables memory disclosure [3]

PR:		ports/71752 [1], ports/72003 [2], ports/72420 [3]
Submitted by:	Adam Gregoire <bsdunx@yahoo.com> [1],
		Vaidrius Petrauskas <acrozy@uosis.mif.vu.lt> [2],
		Dmitry A Grigorovich <odip@bionet.nsc.ru> [3]
Approved by:	portmgr (kris)
2004-10-11 19:48:33 +00:00

38 lines
985 B
Text

--- configure.orig Mon Oct 11 15:51:58 2004
+++ configure Mon Oct 11 15:52:26 2004
@@ -2649,7 +2649,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
@@ -10613,7 +10613,7 @@
if test "$enable_maintainer_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
@@ -10630,8 +10630,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*)
@@ -88453,7 +88451,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