packages/lang/php5/patches/001-configure_cross.patch
jow 74c87930e2 [PATCH 1/4] packages/lang/php5: Update to version 5.3.1
The following patchset upgrades the php5 package to php's 5.3 stable branch.
It removes the SPL build option as this is included in php's core henceforth, likewise
for pcre module. On the other hand a new option for SysV IPC is added and a package
for sqlite3 is introduced.
As FastCGI support is now a core feature the php5-fastcgi package now depends
on the php5-cgi package, containing just a link to the binary and the startup script.
The cross-compile patch is updated to fit the new version.
Signed-off-by: Michael Heimpold <michael.heimpold@s2000.tu-chemnitz.de>


git-svn-id: svn://svn.openwrt.org/openwrt/packages@19266 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-01-22 01:08:54 +00:00

22 lines
717 B
Diff

diff -Naur php-5.3.1.orig/configure php-5.3.1/configure
--- php-5.3.1.orig/configure 2009-11-18 21:11:57.000000000 +0100
+++ php-5.3.1/configure 2010-01-15 23:43:10.000000000 +0100
@@ -14712,7 +14712,7 @@
ac_libs=$LIBS
LIBS="$LIBS -ldl"
if test "$cross_compiling" = yes; then
- found=no
+ found=yes
else
cat > conftest.$ac_ext <<EOF
#line 14719 "configure"
@@ -54494,7 +54494,7 @@
_SAVE_CPPFLAGS=$CPPFLAGS
_SAVE_LIBS=$LIBS
CPPFLAGS="$CPPFLAGS -I$LDAP_INCDIR"
- LIBS="$LIBS $LDAP_SHARED_LIBADD"
+ LIBS="$LIBS $LDAP_SHARED_LIBADD -lsasl2"
echo $ac_n "checking for 3 arg ldap_set_rebind_proc""... $ac_c" 1>&6
echo "configure:54501: checking for 3 arg ldap_set_rebind_proc" >&5