patch file cleanup... ick.. kaloz you owe me some love
git-svn-id: svn://svn.openwrt.org/openwrt/packages@6526 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
29
lang/php5/patches/001-configure_cross.patch
Normal file
29
lang/php5/patches/001-configure_cross.patch
Normal file
@ -0,0 +1,29 @@
|
||||
--- /tmp/php-5.1.6/configure 2006-08-23 07:55:02.000000000 -0500
|
||||
+++ php-5.1.6/configure 2007-03-04 18:41:24.000000000 -0600
|
||||
@@ -14919,7 +14919,7 @@
|
||||
ac_libs=$LIBS
|
||||
LIBS="$LIBS -ldl"
|
||||
if test "$cross_compiling" = yes; then
|
||||
- found=no
|
||||
+ found=yes
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 14926 "configure"
|
||||
@@ -45575,7 +45575,7 @@
|
||||
php_iconv_old_ld="$LDFLAGS"
|
||||
LDFLAGS="-liconv $LDFLAGS"
|
||||
if test "$cross_compiling" = yes; then
|
||||
- { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
|
||||
+ { echo "configure: error: can not run test program while cross compiling" 1>&2; }
|
||||
else
|
||||
cat > conftest.$ac_ext <<EOF
|
||||
#line 45582 "configure"
|
||||
@@ -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"
|
||||
|
||||
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
|
Reference in New Issue
Block a user