php: patch acinclude.m4 instead of aclocal.m4
authorFloris Bos <bos@je-eigen-domein.nl>
Mon, 18 May 2015 19:52:00 +0000 (21:52 +0200)
committerPeter Korsgaard <peter@korsgaard.com>
Tue, 19 May 2015 19:40:25 +0000 (21:40 +0200)
aclocal.m4 gets regenerated from acinclude.m4, so patch the last.

Fixes "Extensions are not supported on this platform" error when
loading any external (zend) extension in php.ini.
Was caused by 0001-ditch-unset.patch not being applied to the
correct file, and our ac_cv_func_dlopen=yes env setting being unset.

Signed-off-by: Floris Bos <bos@je-eigen-domein.nl>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
package/php/0001-ditch-unset.patch
package/php/0002-no-iconv-search.patch

index b43b40f0c4509fb2dcd08867bb706381bac23850..eda83c95a33611cb0c0f4635c549a6349d07d55e 100644 (file)
@@ -3,9 +3,9 @@ Terminate them with extreme prejudice.
 
 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 
-diff -Nura php-5.6.7.orig/aclocal.m4 php-5.6.7/aclocal.m4
---- php-5.6.7.orig/aclocal.m4  2015-04-08 11:08:11.208848359 -0300
-+++ php-5.6.7/aclocal.m4       2015-04-08 11:08:49.828160195 -0300
+diff -Nura php-5.6.8.orig/acinclude.m4 php-5.6.8/acinclude.m4
+--- php-5.6.8.orig/acinclude.m4        2015-04-15 20:05:57.000000000 +0200
++++ php-5.6.8/acinclude.m4     2015-05-18 20:03:50.833099001 +0200
 @@ -1897,8 +1897,6 @@
  dnl
  AC_DEFUN([PHP_CHECK_FUNC_LIB],[
index 3496222166c1075673524c1a31dc1da733dbef74..322395379db838147847f59e14d9e72db1a693a2 100644 (file)
@@ -8,10 +8,10 @@ PHP_ICONV_H_PATH which, again, uses test and absolute paths.
 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
 [Gustavo: convert to nice m4 instead of patching configure]
 
-diff -Nura php-5.6.7.orig/aclocal.m4 php-5.6.7/aclocal.m4
---- php-5.6.7.orig/aclocal.m4  2015-04-08 11:08:11.208848359 -0300
-+++ php-5.6.7/aclocal.m4       2015-04-08 11:42:17.321044950 -0300
-@@ -2474,7 +2474,7 @@
+diff -Nura php-5.6.8.orig/acinclude.m4 php-5.6.8/acinclude.m4
+--- php-5.6.8.orig/acinclude.m4        2015-05-18 20:06:48.557099001 +0200
++++ php-5.6.8/acinclude.m4     2015-05-18 20:07:33.177099001 +0200
+@@ -2470,7 +2470,7 @@
    dnl
    if test "$found_iconv" = "no"; then