summaryrefslogtreecommitdiffstats
path: root/openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch')
-rw-r--r--openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch b/openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch
new file mode 100644
index 000000000..e46e6506f
--- /dev/null
+++ b/openwrt/package/php5/patches/php-5.0.4-xml-expat-no-xml2.patch
@@ -0,0 +1,21 @@
+diff -ruN php-5.0.4-old/configure php-5.0.4-new/configure
+--- php-5.0.4-old/configure 2005-04-03 11:42:50.000000000 +0200
++++ php-5.0.4-new/configure 2005-07-12 20:04:55.000000000 +0200
+@@ -87265,7 +87265,7 @@
+
+ if test "$PHP_XML" != "no" && test "$PHP_LIBXML" != "no" -o "$PHP_LIBEXPAT_DIR" != "no"; then
+
+-
++if test "no" = "yes" ; then
+ for i in $PHP_LIBXML_DIR /usr/local /usr; do
+ if test -x "$i/bin/xml2-config"; then
+ XML2_CONFIG="$i/bin/xml2-config"
+@@ -87470,7 +87470,7 @@
+ fi
+
+ fi
+-
++fi ## (line 87266)
+
+ if test "$PHP_LIBEXPAT_DIR" != "no"; then
+ for i in $PHP_XML $PHP_LIBEXPAT_DIR; do