php: Added missing patch files from previous commit
authorShane Volpe <shanevolpe@gmail.com>
Wed, 20 Aug 2008 02:50:27 +0000 (02:50 +0000)
committerShane Volpe <shanevolpe@gmail.com>
Wed, 20 Aug 2008 02:50:27 +0000 (02:50 +0000)
packages/php/php-5.2.6/acinclude-xml2-config.patch [new file with mode: 0644]
packages/php/php-5.2.6/pear-makefile.patch [new file with mode: 0644]

diff --git a/packages/php/php-5.2.6/acinclude-xml2-config.patch b/packages/php/php-5.2.6/acinclude-xml2-config.patch
new file mode 100644 (file)
index 0000000..bf519d2
--- /dev/null
@@ -0,0 +1,18 @@
+--- /orig-acinclude.m4 2007-02-20 15:03:25.000000000 +0200
++++ /acinclude.m4      2007-02-20 15:03:24.000000000 +0200
+@@ -2359,12 +2359,9 @@
+ AC_DEFUN([PHP_SETUP_LIBXML], [
+ AC_CACHE_CHECK([for xml2-config path], ac_cv_php_xml2_config_path,
+ [
+-  for i in $PHP_LIBXML_DIR /usr/local /usr; do
+-    if test -x "$i/bin/xml2-config"; then
+-      ac_cv_php_xml2_config_path="$i/bin/xml2-config"
+-      break
+-    fi
+-  done
++
++      ac_cv_php_xml2_config_path="$PHP_LIBXML_DIR/xml2-config"
++
+ ])
+
+   if test -x "$ac_cv_php_xml2_config_path"; then
diff --git a/packages/php/php-5.2.6/pear-makefile.patch b/packages/php/php-5.2.6/pear-makefile.patch
new file mode 100644 (file)
index 0000000..26de98a
--- /dev/null
@@ -0,0 +1,11 @@
+--- /pear/orig-Makefile.frag   2007-03-16 12:18:33.000000000 +0200
++++ /pear/Makefile.frag        2007-03-16 12:35:48.000000000 +0200
+@@ -6,7 +6,7 @@
+ PEAR_INSTALL_FLAGS = -n -dshort_open_tag=0 -dsafe_mode=0 -dopen_basedir= -derror_reporting=E_ALL -dmemory_limit=-1 -ddetect_unicode=0
+ install-pear-installer: $(SAPI_CLI_PATH)
+-      @$(top_builddir)/sapi/cli/php $(PEAR_INSTALL_FLAGS) $(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)"
++      @$(PHP_NATIVE_DIR)/php $(PEAR_INSTALL_FLAGS) $(builddir)/install-pear-nozlib.phar -d "$(peardir)" -b "$(bindir)"
+ install-pear:
+       @echo "Installing PEAR environment:      $(INSTALL_ROOT)$(peardir)/"