diff options
-rw-r--r-- | devel/pcre2/Makefile | 2 | ||||
-rw-r--r-- | devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h | 11 | ||||
-rw-r--r-- | devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c | 11 |
3 files changed, 23 insertions, 1 deletions
diff --git a/devel/pcre2/Makefile b/devel/pcre2/Makefile index 072dae75a9e4..9cac72eb7872 100644 --- a/devel/pcre2/Makefile +++ b/devel/pcre2/Makefile @@ -3,7 +3,7 @@ PORTNAME= pcre2 PORTVERSION= 10.32 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= devel MASTER_SITES= SF/pcre/${PORTNAME}/${PORTVERSION} \ ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/ \ diff --git a/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h b/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h new file mode 100644 index 000000000000..fa0b045d6774 --- /dev/null +++ b/devel/pcre2/files/patch-src_sljit_sljitConfigInternal.h @@ -0,0 +1,11 @@ +--- src/sljit/sljitConfigInternal.h.orig 2018-08-13 10:18:10 UTC ++++ src/sljit/sljitConfigInternal.h +@@ -530,7 +530,7 @@ typedef double sljit_f64; + #endif /* !SLJIT_FUNC */ + + #ifndef SLJIT_INDIRECT_CALL +-#if ((defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64) && (defined SLJIT_BIG_ENDIAN && SLJIT_BIG_ENDIAN)) \ ++#if ((defined SLJIT_CONFIG_PPC_64 && SLJIT_CONFIG_PPC_64) && (!defined _CALL_ELF || _CALL_ELF == 1)) \ + || ((defined SLJIT_CONFIG_PPC_32 && SLJIT_CONFIG_PPC_32) && defined _AIX) + /* It seems certain ppc compilers use an indirect addressing for functions + which makes things complicated. */ diff --git a/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c b/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c new file mode 100644 index 000000000000..6bf3d44433a3 --- /dev/null +++ b/devel/pcre2/files/patch-src_sljit_sljitNativePPC__common.c @@ -0,0 +1,11 @@ +--- src/sljit/sljitNativePPC_common.c.orig 2018-01-06 15:12:56 UTC ++++ src/sljit/sljitNativePPC_common.c +@@ -42,7 +42,7 @@ typedef sljit_u32 sljit_ins; + #include <sys/cache.h> + #endif + +-#if (defined SLJIT_LITTLE_ENDIAN && SLJIT_LITTLE_ENDIAN) ++#if (defined _CALL_ELF && _CALL_ELF == 2) + #define SLJIT_PASS_ENTRY_ADDR_TO_CALL 1 + #endif + |