ports/lang/php80/files/patch-ext_pcre_pcre2lib_sljit_sljitConfigInternal.h
Muhammad Moinur Rahman ed919666b6 lang/php80: Fix build with openssl3
This fix some additional errors on OSVERSION 1400093.

Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-08-02 18:22:19 +02:00

11 lines
463 B
C

--- ext/pcre/pcre2lib/sljit/sljitConfigInternal.h.orig 2023-06-07 17:25:45 UTC
+++ ext/pcre/pcre2lib/sljit/sljitConfigInternal.h
@@ -317,7 +317,7 @@ extern "C" {
/* Instruction cache flush. */
/****************************/
-#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)
#define SLJIT_CACHE_FLUSH(from, to) \