From fb3f5e1e7c66f74eb792df5b8a7d704371c814f7 Mon Sep 17 00:00:00 2001 From: ale Date: Mon, 11 Oct 2004 19:48:33 +0000 Subject: 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 [1], Vaidrius Petrauskas [2], Dmitry A Grigorovich [3] Approved by: portmgr (kris) --- lang/php53/files/patch-configure | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 lang/php53/files/patch-configure (limited to 'lang/php53/files') diff --git a/lang/php53/files/patch-configure b/lang/php53/files/patch-configure new file mode 100644 index 000000000000..a56d0519cb51 --- /dev/null +++ b/lang/php53/files/patch-configure @@ -0,0 +1,38 @@ +--- 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 -- cgit