tags 760327 + patch
thanks
Hi,
attached a debdiff, which also takes care of powerpcspe.
bye,
//mirabilos
--
tarent solutions GmbH
Rochusstraße 2-4, D-53123 Bonn • http://www.tarent.de/
Tel: +49 228 54881-393 • Fax: +49 228 54881-235
HRB 5168 (AG Bonn) • USt-ID (VAT): DE122264941
Geschäftsführer: Dr. Stefan Barth, Kai Ebenrett, Boris Esser, Alexander Steeg
diff -Nru pcre3-8.35/debian/changelog pcre3-8.35/debian/changelog
--- pcre3-8.35/debian/changelog 2014-09-29 01:03:27.000000000 +0200
+++ pcre3-8.35/debian/changelog 2014-10-24 17:58:08.000000000 +0200
@@ -1,3 +1,9 @@
+pcre3 (1:8.35-3.1+powerpcspe+x32.1) unreleased; urgency=medium
+
+ * Disable JIT on x32 and powerpcspe (Closes: #760327)
+
+ -- Thorsten Glaser <t...@mirbsd.de> Fri, 24 Oct 2014 17:57:53 +0200
+
pcre3 (1:8.35-3.1) unstable; urgency=medium
* Non-maintainer upload.
diff -Nru pcre3-8.35/debian/patches/no_jit_x32_powerpcspe.patch
pcre3-8.35/debian/patches/no_jit_x32_powerpcspe.patch
--- pcre3-8.35/debian/patches/no_jit_x32_powerpcspe.patch 1970-01-01
01:00:00.000000000 +0100
+++ pcre3-8.35/debian/patches/no_jit_x32_powerpcspe.patch 2014-10-24
17:56:52.000000000 +0200
@@ -0,0 +1,31 @@
+Description: Disable JIT on x32, needs explicit porting to ILP32 amd64,
FPU-less PowerPC.
+Author: Thorsten Glaser <t...@mirbsd.org>, Roland Stigge <sti...@antcom.de>
+
+--- a/sljit/sljitConfigInternal.h
++++ b/sljit/sljitConfigInternal.h
+@@ -97,7 +97,11 @@
+ #if defined(__i386__) || defined(__i386)
+ #define SLJIT_CONFIG_X86_32 1
+ #elif defined(__x86_64__)
+-#define SLJIT_CONFIG_X86_64 1
++# if defined(__ILP32__)
++# define SLJIT_CONFIG_UNSUPPORTED 1
++# else
++# define SLJIT_CONFIG_X86_64 1
++# endif
+ #elif defined(__arm__) || defined(__ARM__)
+ #ifdef __thumb2__
+ #define SLJIT_CONFIG_ARM_THUMB2 1
+@@ -115,7 +115,11 @@
+ # define SLJIT_CONFIG_UNSUPPORTED 1
+ # endif
+ #elif defined(__ppc__) || defined(__powerpc__) || defined(_ARCH_PPC) ||
defined(_ARCH_PWR) || defined(_ARCH_PWR2) || defined(_POWER)
+-#define SLJIT_CONFIG_PPC_32 1
++# ifndef __NO_FPRS__
++# define SLJIT_CONFIG_PPC_32 1
++# else
++# define SLJIT_CONFIG_UNSUPPORTED 1
++# endif
+ #elif defined(__mips__) && !defined(_LP64)
+ #define SLJIT_CONFIG_MIPS_32 1
+ #elif defined(__mips64)
diff -Nru pcre3-8.35/debian/patches/series pcre3-8.35/debian/patches/series
--- pcre3-8.35/debian/patches/series 2014-07-23 22:06:54.000000000 +0200
+++ pcre3-8.35/debian/patches/series 2014-10-24 17:56:52.000000000 +0200
@@ -5,3 +5,4 @@
soname.patch
no_jit_ppc64el.patch
Fix-silly-quantifier-size-check.patch
+no_jit_x32_powerpcspe.patch