From ce351aa49b62d498403a55c90c38d6d24d900846 Mon Sep 17 00:00:00 2001 From: nico Date: Sun, 14 Aug 2005 16:27:48 +0000 Subject: add php5 package git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1667 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- .../php5/patches/php-5.0.4-configure-cross.patch | 83 ++++++++++++++++++++++ .../php5/patches/php-5.0.4-xml-expat-no-xml2.patch | 21 ++++++ 2 files changed, 104 insertions(+) create mode 100644 openwrt/package/php5/patches/php-5.0.4-configure-cross.patch create mode 100644 openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch (limited to 'openwrt/package/php5/patches') diff --git a/openwrt/package/php5/patches/php-5.0.4-configure-cross.patch b/openwrt/package/php5/patches/php-5.0.4-configure-cross.patch new file mode 100644 index 0000000000..d4c423b3b0 --- /dev/null +++ b/openwrt/package/php5/patches/php-5.0.4-configure-cross.patch @@ -0,0 +1,83 @@ +--- php-5.0.4/configure 2005-06-16 19:23:10.000000000 +0200 ++++ php-5.0.4-patched/configure 2005-07-01 23:52:04.000000000 +0200 +@@ -13851,7 +13851,7 @@ + ac_libs=$LIBS + LIBS="$LIBS -ldl" + if test "$cross_compiling" = yes; then +- found=no ++ found=yes + else + cat > conftest.$ac_ext <&2; exit 1; } ++ { echo "configure: error: can not run test program while cross compiling" 1>&2; } + else + cat > conftest.$ac_ext <&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then + rm -rf conftest* + 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 <&2; exit 1; } ++ { echo "configure: error: can not run test program while cross compiling" 1>&2; } + else + cat > conftest.$ac_ext <&6 + echo "configure:41407: checking if iconv supports errno" >&5 + 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 <