diff options
Diffstat (limited to 'debian/patches/Disable_JIT_on_sparc64.patch')
-rw-r--r-- | debian/patches/Disable_JIT_on_sparc64.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/debian/patches/Disable_JIT_on_sparc64.patch b/debian/patches/Disable_JIT_on_sparc64.patch new file mode 100644 index 0000000..aacf883 --- /dev/null +++ b/debian/patches/Disable_JIT_on_sparc64.patch @@ -0,0 +1,23 @@ +Description: Disable JIT on sparc64 as it needs explicit porting + The test suite currently fails on sparc64 when the JIT is enabled + as the JIT has not been ported to sparc64 yet. Thus, disable JIT + until it has been explicitly ported to sparc64. + . + +Index: pcre3-8.35/sljit/sljitConfigInternal.h +=================================================================== +--- pcre3-8.35.orig/sljit/sljitConfigInternal.h ++++ pcre3-8.35/sljit/sljitConfigInternal.h +@@ -125,7 +125,11 @@ + #elif defined(__mips64) + #define SLJIT_CONFIG_MIPS_64 1 + #elif defined(__sparc__) || defined(__sparc) +-#define SLJIT_CONFIG_SPARC_32 1 ++# if defined(__arch64__) ++# define SLJIT_CONFIG_UNSUPPORTED 1 ++# else ++# define SLJIT_CONFIG_SPARC_32 1 ++# endif + #elif defined(__tilegx__) + #define SLJIT_CONFIG_TILEGX 1 + #else |