[packages/mozjs24] - disable JIT on x32 (patch from http://debian-x32.org/) - rel 2

baggins baggins at pld-linux.org
Mon Mar 23 23:05:58 CET 2015


commit bb7874b57f39e3383e39f8c04c8b94d56a8183cd
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Mon Mar 23 22:56:26 2015 +0100

    - disable JIT on x32 (patch from http://debian-x32.org/)
    - rel 2

 Disable-js-JIT-on-x32.patch | 26 ++++++++++++++++++++++++++
 mozjs24.spec                |  4 +++-
 2 files changed, 29 insertions(+), 1 deletion(-)
---
diff --git a/mozjs24.spec b/mozjs24.spec
index baaaf3b..d6aea97 100644
--- a/mozjs24.spec
+++ b/mozjs24.spec
@@ -3,12 +3,13 @@ Summary:	SpiderMonkey 24 - JavaScript 1.8.5+ implementation
 Summary(pl.UTF-8):	SpiderMonkey 24 - implementacja języka JavaScript 1.8.5+
 Name:		mozjs24
 Version:	24.2.0
-Release:	1
+Release:	2
 License:	MPL v2.0
 Group:		Libraries
 Source0:	http://ftp.mozilla.org/pub/mozilla.org/js/mozjs-%{version}.tar.bz2
 # Source0-md5:	5db79c10e049a2dc117a6e6a3bc78a8e
 Patch0:		%{name}-system-virtualenv.patch
+Patch1:		Disable-js-JIT-on-x32.patch
 URL:		http://www.mozilla.org/js/
 BuildRequires:	gcc-c++ >= 6:4.4
 BuildRequires:	libffi-devel >= 5:3.0.9
@@ -70,6 +71,7 @@ Statyczna wersja biblioteki JavaScript.
 %prep
 %setup -q -n mozjs-%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 cd js/src
diff --git a/Disable-js-JIT-on-x32.patch b/Disable-js-JIT-on-x32.patch
new file mode 100644
index 0000000..d5a603d
--- /dev/null
+++ b/Disable-js-JIT-on-x32.patch
@@ -0,0 +1,26 @@
+Description: Disable the js JIT on x32.
+Author: Adam Borowski <kilobyte at angband.pl>
+Index: mozjs24-24.2.0/js/src/configure.in
+===================================================================
+--- mozjs24-24.2.0.orig/js/src/configure.in
++++ mozjs24-24.2.0/js/src/configure.in
+@@ -2072,6 +2072,8 @@ fi
+ dnl Configure JIT support
+ 
+ case "$target" in
++x86_64*-gnux32)
++    ;;
+ i?86-*)
+     ENABLE_METHODJIT=1
+     ENABLE_ION=1
+--- mozjs-24.2.0/js/src/configure~	2013-12-11 23:23:20.000000000 +0100
++++ mozjs-24.2.0/js/src/configure	2015-03-23 22:55:24.995319443 +0100
+@@ -8243,6 +8243,8 @@
+ 
+ 
+ case "$target" in
++x86_64*-gnux32)
++    ;;
+ i?86-*)
+     ENABLE_METHODJIT=1
+     ENABLE_ION=1
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mozjs24.git/commitdiff/bb7874b57f39e3383e39f8c04c8b94d56a8183cd



More information about the pld-cvs-commit mailing list