diff options
author | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-13 21:26:32 +0100 |
---|---|---|
committer | Ian Jackson <ijackson@chiark.greenend.org.uk> | 2016-07-13 21:26:32 +0100 |
commit | fef6a04f189f791b9bee9f17797890b12fee495f (patch) | |
tree | ceb89d4c513787b48999a7d35105daddde016fb0 /debian/patches/Disable_JIT_on_sparc64.patch | |
parent | cba4af1b7643b0da036ff78fd152f74a906c4e97 (diff) |
Import debian/ directory from 2:8.38-3.1
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..0a6de34 --- /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/sljit/sljitConfigInternal.h +=================================================================== +--- pcre3.orig/sljit/sljitConfigInternal.h 2015-12-22 13:30:50.000000000 +0000 ++++ pcre3/sljit/sljitConfigInternal.h 2015-12-22 13:33:30.000000000 +0000 +@@ -145,7 +145,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 |