From 7f455d9a035811480785b6f2f294f80a74f5dbf6 Mon Sep 17 00:00:00 2001 From: Tim Yardley Date: Mon, 5 Mar 2007 00:52:17 +0000 Subject: [PATCH] fixes compile for ldap module in php5 SVN-Revision: 6525 --- lang/php5/patches/01-configure_cross.patch | 35 ++++++---------------- 1 file changed, 9 insertions(+), 26 deletions(-) diff --git a/lang/php5/patches/01-configure_cross.patch b/lang/php5/patches/01-configure_cross.patch index dd2e68fcad..4e14f62517 100644 --- a/lang/php5/patches/01-configure_cross.patch +++ b/lang/php5/patches/01-configure_cross.patch @@ -1,5 +1,5 @@ --- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500 -+++ php-5.1.6/configure 2007-03-03 18:59:35.000000000 -0600 ++++ php-5.1.6/configure 2007-03-04 18:41:24.000000000 -0600 @@ -14919,7 +14919,7 @@ ac_libs=$LIBS LIBS="$LIBS -ldl" @@ -18,29 +18,12 @@ else cat > conftest.$ac_ext <&6 - test "$dynamic_linker" = no && can_build_shared=no - -@@ -108669,7 +108672,7 @@ - link_all_deplibs=$link_all_deplibs - - # Compile-time system search path for libraries --sys_lib_search_path_spec=$lt_sys_lib_search_path_spec -+sys_lib_search_path_spec= +@@ -52337,7 +52337,7 @@ + _SAVE_CPPFLAGS=$CPPFLAGS + _SAVE_LDFLAGS=$LDFLAGS + CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR" +- LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD" ++ LDFLAGS="$LDFLAGS $LDAP_SHARED_LIBADD -lsasl2" - # Run-time system search path for libraries - sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec + echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6 + echo "configure:52344: checking for 3 arg ldap_set_rebind_proc" >&5 -- 2.30.2