Index: devel/pcre/files/patch-sljit_sljitConfigInternal.h =================================================================== --- /dev/null +++ devel/pcre/files/patch-sljit_sljitConfigInternal.h @@ -0,0 +1,11 @@ +--- sljit/sljitConfigInternal.h (revision 1744) ++++ sljit/sljitConfigInternal.h (working copy) +@@ -530,7 +530,7 @@ + #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. */ Index: devel/pcre/files/patch-sljit_sljitNativePPC_common.c =================================================================== --- /dev/null +++ devel/pcre/files/patch-sljit_sljitNativePPC_common.c @@ -0,0 +1,11 @@ +--- sljit/sljitNativePPC_common.c (revision 1744) ++++ sljit/sljitNativePPC_common.c (working copy) +@@ -42,7 +42,7 @@ + #include + #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 +