[packages/js185] Rel 5
arekm
arekm at pld-linux.org
Fri Apr 10 23:30:52 CEST 2026
commit 169c0d3b7bc23db1d19f3242ad2980ce4d453173
Author: Arkadiusz Miśkiewicz <arekm at maven.pl>
Date: Fri Apr 10 23:30:42 2026 +0200
Rel 5
js185-x32.patch | 20 ++++++++++++++++++++
js185.spec | 3 ++-
2 files changed, 22 insertions(+), 1 deletion(-)
---
diff --git a/js185.spec b/js185.spec
index 9dbc04c..9de3733 100644
--- a/js185.spec
+++ b/js185.spec
@@ -11,7 +11,7 @@ Summary: SpiderMonkey JavaScript 1.8.5 implementation
Summary(pl.UTF-8): Implementacja SpiderMonkey języka JavaScript 1.8.5
Name: js185
Version: 1.0.0
-Release: 8
+Release: 9
License: MPL 1.1 or GPL v2+ or LGPL v2.1+
Group: Development/Languages
Source0: http://ftp.mozilla.org/pub/mozilla.org/js/%{name}-%{version}.tar.gz
@@ -20,6 +20,7 @@ Patch0: %{name}-install.patch
Patch1: %{name}-c++.patch
Patch2: %{name}-configure-implicit-int.patch
Patch3: %{name}-hcpp-object.patch
+Patch4: %{name}-x32.patch
URL: http://www.mozilla.org/js/
BuildRequires: libstdc++-devel
BuildRequires: nspr-devel >= 4.7.0
diff --git a/js185-x32.patch b/js185-x32.patch
new file mode 100644
index 0000000..aed6521
--- /dev/null
+++ b/js185-x32.patch
@@ -0,0 +1,20 @@
+--- js-1.8.5/js/src/jslock.cpp.orig 2026-04-10 23:27:58.253091897 +0200
++++ js-1.8.5/js/src/jslock.cpp 2026-04-10 23:27:58.264201508 +0200
+@@ -117,7 +117,7 @@
+ reinterpret_cast<void * volatile *>(w));
+ }
+
+-#elif defined(__i386) && (defined(__GNUC__) || defined(__SUNPRO_CC))
++#elif (defined(__i386) || (defined(__x86_64) && defined(__ILP32__))) && (defined(__GNUC__) || defined(__SUNPRO_CC))
+
+ /* Note: This fails on 386 cpus, cmpxchgl is a >= 486 instruction */
+ static JS_ALWAYS_INLINE int
+@@ -140,7 +140,7 @@
+ : "cc", "memory");
+ return (int)res;
+ }
+-#elif defined(__x86_64) && (defined(__GNUC__) || defined(__SUNPRO_CC))
++#elif defined(__x86_64) && !defined(__ILP32__) && (defined(__GNUC__) || defined(__SUNPRO_CC))
+
+ static JS_ALWAYS_INLINE int
+ NativeCompareAndSwap(volatile jsword *w, jsword ov, jsword nv)
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/js185.git/commitdiff/169c0d3b7bc23db1d19f3242ad2980ce4d453173
More information about the pld-cvs-commit
mailing list