diff options
Diffstat (limited to 'lang/php70/patches/patch-ext_pcre_pcrelib_config.h')
-rw-r--r-- | lang/php70/patches/patch-ext_pcre_pcrelib_config.h | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/lang/php70/patches/patch-ext_pcre_pcrelib_config.h b/lang/php70/patches/patch-ext_pcre_pcrelib_config.h new file mode 100644 index 00000000000..f1131f92822 --- /dev/null +++ b/lang/php70/patches/patch-ext_pcre_pcrelib_config.h @@ -0,0 +1,26 @@ +$NetBSD$ + +--- ext/pcre/pcrelib/config.h.orig 2016-02-02 16:32:32.000000000 +0000 ++++ ext/pcre/pcrelib/config.h +@@ -397,7 +397,20 @@ them both to 0; an emulation function wi + #undef SUPPORT_GCOV + + /* Define to any value to enable support for Just-In-Time compiling. */ +-#define SUPPORT_JIT ++#if defined(__i386__) || defined(__i386) \ ++|| defined(__x86_64__) \ ++|| defined(__arm__) || defined(__ARM__) \ ++|| defined (__aarch64__) \ ++|| defined(__ppc64__) || defined(__powerpc64__) || defined(_ARCH_PPC64) \ ++|| (defined(_POWER) && defined(__64BIT__)) \ ++|| defined(__ppc__) || defined(__powerpc__) || defined(_ARCH_PPC) \ ++|| defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_POWER) \ ++|| (defined(__mips__) && !defined(_LP64)) \ ++|| defined(__mips64) \ ++|| defined(__sparc__) || defined(__sparc) \ ++|| defined(__tilegx__) ++ #define SUPPORT_JIT ++#endif + + /* Define to any value to allow pcregrep to be linked with libbz2, so that it + is able to handle .bz2 files. */ |