From 8d6baf0057572fba7f20c4824918fcbebc86edc5 Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 4 Jul 2005 17:03:18 +0000 Subject: Add php4 package (Thanks aorlinsk and enzo for the help) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@1334 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- openwrt/package/php4/patches/php4_configure.patch | 83 +++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 openwrt/package/php4/patches/php4_configure.patch (limited to 'openwrt/package/php4/patches/php4_configure.patch') diff --git a/openwrt/package/php4/patches/php4_configure.patch b/openwrt/package/php4/patches/php4_configure.patch new file mode 100644 index 000000000..94bba0a36 --- /dev/null +++ b/openwrt/package/php4/patches/php4_configure.patch @@ -0,0 +1,83 @@ +--- php-4.3.11/configure 2005-03-30 16:35:34.000000000 +0200 ++++ php-4.3.11-patched/configure 2005-06-22 23:34:35.000000000 +0200 +@@ -12192,7 +12192,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:41306: 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 <&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 <&2; exit 1; } ++ { echo "configure: error: can not run test program while cross compiling" 1>&2; } + else + cat > conftest.$ac_ext <