]> git.pld-linux.org Git - packages/mozjs68.git/commitdiff
- one more x32 fix auto/th/mozjs68-68.7.0-1
authorJan Rękorajski <baggins@pld-linux.org>
Fri, 1 May 2020 09:26:27 +0000 (11:26 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Fri, 1 May 2020 09:26:27 +0000 (11:26 +0200)
x32.patch

index 2bac1e35fdac0edd839e0a5440e2ede7d2d64a02..efcf41922ff00dc27e3133f758d9c56041bcb46b 100644 (file)
--- 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]"
This page took 0.16148 seconds and 4 git commands to generate.