diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-09 12:03:08 +0200 |
---|---|---|
committer | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2016-08-10 14:26:52 +0200 |
commit | 6604b2e9c446ae85ae358bf1a9973c8c6f205edd (patch) | |
tree | 10c3cb89cde746f0e54d50373c41cb4aa7722d8c /package/php/0001-acinclude.m4-don-t-unset-variables.patch | |
parent | 5e8b92cec64dbb0dfe57435d3333b359355e3267 (diff) | |
download | buildroot-6604b2e9c446ae85ae358bf1a9973c8c6f205edd.tar.gz buildroot-6604b2e9c446ae85ae358bf1a9973c8c6f205edd.zip |
php: rework patches as Git formatted patches
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/php/0001-acinclude.m4-don-t-unset-variables.patch')
-rw-r--r-- | package/php/0001-acinclude.m4-don-t-unset-variables.patch | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/package/php/0001-acinclude.m4-don-t-unset-variables.patch b/package/php/0001-acinclude.m4-don-t-unset-variables.patch new file mode 100644 index 0000000000..d507775b8a --- /dev/null +++ b/package/php/0001-acinclude.m4-don-t-unset-variables.patch @@ -0,0 +1,38 @@ +From 7a4168062fbab2e33ef9a42bca9f87a5921afac2 Mon Sep 17 00:00:00 2001 +From: Gustavo Zacarias <gustavo@zacarias.com.ar> +Date: Tue, 9 Aug 2016 11:49:56 +0200 +Subject: [PATCH] acinclude.m4: don't unset variables + +Unsetting ac_cv_{func,lib}_* is bad, you can't feed the configure cache. +Terminate them with extreme prejudice. + +Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar> +--- + acinclude.m4 | 4 ---- + 1 file changed, 4 deletions(-) + +diff --git a/acinclude.m4 b/acinclude.m4 +index 28506b6..af4aa06 100644 +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -1898,8 +1898,6 @@ define([phpshift],[ifelse(index([$@],[,]),-1,,[substr([$@],incr(index([$@],[,])) + dnl + AC_DEFUN([PHP_CHECK_FUNC_LIB],[ + ifelse($2,,:,[ +- unset ac_cv_lib_$2[]_$1 +- unset ac_cv_lib_$2[]___$1 + unset found + AC_CHECK_LIB($2, $1, [found=yes], [ + AC_CHECK_LIB($2, __$1, [found=yes], [found=no]) +@@ -1931,8 +1929,6 @@ dnl in the default libraries and as a fall back in the specified library. + dnl Defines HAVE_func and HAVE_library if found and adds the library to LIBS. + dnl + AC_DEFUN([PHP_CHECK_FUNC],[ +- unset ac_cv_func_$1 +- unset ac_cv_func___$1 + unset found + + AC_CHECK_FUNC($1, [found=yes],[ AC_CHECK_FUNC(__$1,[found=yes],[found=no]) ]) +-- +2.7.4 + |