diff options
author | jklos <jklos@pkgsrc.org> | 2016-02-17 01:17:16 +0000 |
---|---|---|
committer | jklos <jklos@pkgsrc.org> | 2016-02-17 01:17:16 +0000 |
commit | 39d4f39a46132f774f743eecd39420462055906d (patch) | |
tree | 60d6584ce57ae19bfeb763741e5603e27b4f4033 | |
parent | d58f07eeabacc760dd9d4a7b663b98d3f410c077 (diff) | |
download | pkgsrc-39d4f39a46132f774f743eecd39420462055906d.tar.gz |
Same as other php versions - selectively enable just-in-time support in
PCRE for supported architectures.
https://mail-index.netbsd.org/pkgsrc-bugs/2015/09/13/msg057792.html
-rw-r--r-- | lang/php56/distinfo | 3 | ||||
-rw-r--r-- | lang/php56/patches/patch-ext_pcre_pcrelib_config.h | 26 |
2 files changed, 28 insertions, 1 deletions
diff --git a/lang/php56/distinfo b/lang/php56/distinfo index 30cfe9af01b..751ba7d924d 100644 --- a/lang/php56/distinfo +++ b/lang/php56/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.22 2016/02/06 07:13:02 taca Exp $ +$NetBSD: distinfo,v 1.23 2016/02/17 01:17:16 jklos Exp $ SHA1 (php-5.6.18.tar.bz2) = fb83cf624b7b4f4ab8f71b8765e5f205e6e3af41 RMD160 (php-5.6.18.tar.bz2) = 4d6ac401ae4b3920cd6fab5179cd3639e27977fd @@ -10,6 +10,7 @@ SHA1 (patch-ext_gd_config.m4) = 4b44853250eb4a638af4c663e618307ff25d2cbd SHA1 (patch-ext_imap_config.m4) = 9c6ed6966366c4fe1b7cfd34b5910e2ff0e68577 SHA1 (patch-ext_mssql_php__mssql.c) = c4fa9231dc539ffb027f1beb6f182f21ddb94a3c SHA1 (patch-ext_opcache_config.m4) = 031db201f68a120615561a5abd3e84aff58b523d +SHA1 (patch-ext_pcre_pcrelib_config.h) = 26588e9932ee715e32c872a1c7e2f9c640bd9cf8 SHA1 (patch-ext_pdo__mysql_config.m4) = 9d25c673fc151e1b8ae137f2a0fc540189ef5398 SHA1 (patch-ext_pdo_config.m4) = f6deef3ac631769baa587dd7c27e55bd2e9ca6a5 SHA1 (patch-ext_phar_Makefile.frag) = 1564c188e57d48f83de7c2420fdde183598539e2 diff --git a/lang/php56/patches/patch-ext_pcre_pcrelib_config.h b/lang/php56/patches/patch-ext_pcre_pcrelib_config.h new file mode 100644 index 00000000000..19c1fd0596b --- /dev/null +++ b/lang/php56/patches/patch-ext_pcre_pcrelib_config.h @@ -0,0 +1,26 @@ +$NetBSD: patch-ext_pcre_pcrelib_config.h,v 1.1 2016/02/17 01:17:16 jklos Exp $ + +--- ext/pcre/pcrelib/config.h.orig 2016-02-03 08:38:08.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. */ |