ports/lang/php82/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h
Muhammad Moinur Rahman 5da33bb9b4 lang/php82: Update version 8.2.0a3=>8.2.0b2
- Fix building with some DEFAULT OPTIONS off [1]
PR:		265500 [1]
Reported by:	a.shikov@itcons.net.ua [1]
Sponsored by:	Bounce Experts
2022-08-04 14:43:34 -05:00

20 lines
803 B
C

--- ext/pcre/pcre2lib/sljit/sljitConfigInternal.h.orig 2022-08-02 13:57:03 UTC
+++ ext/pcre/pcre2lib/sljit/sljitConfigInternal.h
@@ -303,7 +303,7 @@ extern "C" {
/* Type of public API functions. */
/*********************************/
-#ifndef SLJIT_API_FUNC_ATTRIBUTE
+#ifndef SLJIT_API_FUNC_ATTRIBUTE
#if (defined SLJIT_CONFIG_STATIC && SLJIT_CONFIG_STATIC)
/* Static ABI functions. For all-in-one programs. */
@@ -333,7 +333,7 @@ extern "C" {
* beware APPLE is known to have removed the code in iOS so
* it will need to be excempted or result in broken builds
*/
-#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin)
+#if (!defined SLJIT_CACHE_FLUSH && defined __has_builtin && !defined SLJIT_CONFIG_PPC_32)
#if __has_builtin(__builtin___clear_cache) && !defined(__clang__)
/*