[packages/mozjs68] - one more x32 fix

baggins baggins at pld-linux.org
Fri May 1 11:29:05 CEST 2020


commit 8bb0e50a7fd1858a7bd0042d21e8ce16d4e64ddb
Author: Jan Rękorajski <baggins at pld-linux.org>
Date:   Fri May 1 11:26:27 2020 +0200

    - one more x32 fix

 x32.patch | 11 +++++++++++
 1 file changed, 11 insertions(+)
---
diff --git a/x32.patch b/x32.patch
index 2bac1e3..efcf419 100644
--- a/x32.patch
+++ b/x32.patch
@@ -42,3 +42,14 @@ diff -ur mozjs-60.1.0/python/mozbuild/mozbuild/configure/constants.py mozjs-60.1
      ('x86', '__i386__ || _M_IX86'),
      ('x86_64', '__x86_64__ || _M_X64'),
      ('arm', '__arm__ || _M_ARM'),
+--- firefox-68.7.0/js/src/vm/BigIntType.cpp~	2020-04-03 21:29:59.000000000 +0200
++++ firefox-68.7.0/js/src/vm/BigIntType.cpp	2020-05-01 11:22:53.296439915 +0200
+@@ -263,7 +263,7 @@
+ BigInt::Digit BigInt::digitDiv(Digit high, Digit low, Digit divisor,
+                                Digit* remainder) {
+   MOZ_ASSERT(high < divisor, "division must not overflow");
+-#if defined(__x86_64__)
++#if defined(__x86_64__) && !defined(__ILP32__)
+   Digit quotient;
+   Digit rem;
+   __asm__("divq  %[divisor]"
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/mozjs68.git/commitdiff/8bb0e50a7fd1858a7bd0042d21e8ce16d4e64ddb



More information about the pld-cvs-commit mailing list