]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
php: remove Blackfin patch
authorThomas Petazzoni <thomas.petazzoni@bootlin.com>
Thu, 5 Apr 2018 19:50:37 +0000 (21:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Apr 2018 20:05:46 +0000 (22:05 +0200)
And renumber remaining patches.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/php/0006-Call-apxs-with-correct-prefix.patch [moved from package/php/0007-Call-apxs-with-correct-prefix.patch with 100% similarity]
package/php/0006-avoid-bfin-gcc-segfault.patch [deleted file]
package/php/0007-main-php_ini.c-build-empty-php_load_zend_extension_c.patch [moved from package/php/0008-main-php_ini.c-build-empty-php_load_zend_extension_c.patch with 100% similarity]

diff --git a/package/php/0006-avoid-bfin-gcc-segfault.patch b/package/php/0006-avoid-bfin-gcc-segfault.patch
deleted file mode 100644 (file)
index 7f8cb24..0000000
+++ /dev/null
@@ -1,17 +0,0 @@
-Avoid gcc segmentation fault
-
-Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
-Signed-off-by: Adam Duskett <aduskett@gmail.com>
-[aduskett@gmail.com: Update for 7.2.2]
-diff -Nur php-7.0.12.orig/Zend/zend_portability.h php-7.0.12/Zend/zend_portability.h
---- php-7.0.12.orig/Zend/zend_portability.h    2016-10-13 16:04:17.000000000 +0200
-+++ php-7.0.12/Zend/zend_portability.h 2016-11-08 02:49:39.118388999 +0100
-@@ -95,7 +95,7 @@
- #if defined(ZEND_WIN32) && !defined(__clang__)
- # define ZEND_ASSUME(c)       __assume(c)
--#elif ((defined(__GNUC__) && ZEND_GCC_VERSION >= 4005) || __has_builtin(__builtin_unreachable)) && PHP_HAVE_BUILTIN_EXPECT
-+#elif ((defined(__GNUC__) && ZEND_GCC_VERSION >= 4005) || __has_builtin(__builtin_unreachable)) && PHP_HAVE_BUILTIN_EXPECT && !defined(__bfin__)
- # define ZEND_ASSUME(c)       do { \
-               if (__builtin_expect(!(c), 0)) __builtin_unreachable(); \
-       } while (0)