]> git.pld-linux.org Git - packages/php.git/commitdiff
- force expat due to http://bugs.php.net/bug.php?id=45996
authorArkadiusz Miśkiewicz <arekm@maven.pl>
Sat, 6 Dec 2008 11:28:18 +0000 (11:28 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    php-xml-force-expat.patch -> 1.1

php-xml-force-expat.patch [new file with mode: 0644]

diff --git a/php-xml-force-expat.patch b/php-xml-force-expat.patch
new file mode 100644 (file)
index 0000000..4980f24
--- /dev/null
@@ -0,0 +1,33 @@
+--- php-5.2.7/ext/xml.org/config.m4    2005-12-22 09:57:38.000000000 +0100
++++ php-5.2.7/ext/xml/config.m4        2008-12-06 12:13:57.781991558 +0100
+@@ -5,11 +5,6 @@
+ PHP_ARG_ENABLE(xml,whether to enable XML support,
+ [  --disable-xml           Disable XML support], yes)
+-if test -z "$PHP_LIBXML_DIR"; then
+-  PHP_ARG_WITH(libxml-dir, libxml2 install dir,
+-  [  --with-libxml-dir=DIR     XML: libxml2 install prefix], no, no)
+-fi
+-
+ PHP_ARG_WITH(libexpat-dir, libexpat install dir,
+ [  --with-libexpat-dir=DIR   XML: libexpat install prefix (deprecated)], no, no)
+@@ -19,17 +14,7 @@
+   dnl Default to libxml2 if --with-libexpat-dir is not used.
+   dnl
+   if test "$PHP_LIBEXPAT_DIR" = "no"; then
+-
+-    if test "$PHP_LIBXML" = "no"; then
+-      AC_MSG_ERROR([XML extension requires LIBXML extension, add --enable-libxml])
+-    fi
+-
+-    PHP_SETUP_LIBXML(XML_SHARED_LIBADD, [
+-      xml_extra_sources="compat.c"
+-      PHP_ADD_EXTENSION_DEP(xml, libxml)
+-    ], [
+-      AC_MSG_ERROR([xml2-config not found. Use --with-libxml-dir=<DIR>])
+-    ])
++      AC_MSG_ERROR([XML extension requires EXPAT extension, add --enable-expat])
+   fi
+   
+   dnl
This page took 0.047918 seconds and 4 git commands to generate.