]> git.pld-linux.org Git - packages/mozjs17.git/commitdiff
- fix building on x32 master auto/th/mozjs17-17.0.0-4
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 18 Oct 2016 18:39:01 +0000 (20:39 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 18 Oct 2016 18:39:01 +0000 (20:39 +0200)
- rel 4

Disable-js-JIT-on-x32.patch [new file with mode: 0644]
mozjs17.spec

diff --git a/Disable-js-JIT-on-x32.patch b/Disable-js-JIT-on-x32.patch
new file mode 100644 (file)
index 0000000..d5a603d
--- /dev/null
@@ -0,0 +1,26 @@
+Description: Disable the js JIT on x32.
+Author: Adam Borowski <kilobyte@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
index 6f01d91ba0ae00bda14d06c86fc135c08ff6f5ac..4b7d5a1a078d007261d89f4a5cf7c4dff4ba3006 100644 (file)
@@ -3,12 +3,13 @@ Summary:      SpiderMonkey 17 - JavaScript 1.8.6 implementation
 Summary(pl.UTF-8):     SpiderMonkey 17 - implementacja języka JavaScript 1.8.6
 Name:          mozjs17
 Version:       17.0.0
-Release:       3
+Release:       4
 License:       MPL 1.1 or GPL v2+ or LGPL v2.1+
 Group:         Libraries
 Source0:       http://ftp.mozilla.org/pub/mozilla.org/js/mozjs%{version}.tar.gz
 # Source0-md5: 20b6f8f1140ef6e47daa3b16965c9202
 Patch0:                perl.patch
+Patch1:                Disable-js-JIT-on-x32.patch
 URL:           http://www.mozilla.org/js/
 BuildRequires: libffi-devel >= 5:3.0.9
 BuildRequires: libstdc++-devel
@@ -68,6 +69,7 @@ Statyczna wersja biblioteki JavaScript.
 %prep
 %setup -q -n mozjs%{version}
 %patch0 -p1
+%patch1 -p1
 
 %build
 cd js/src
This page took 0.0834 seconds and 4 git commands to generate.