From: Jan Rękorajski Date: Fri, 1 May 2020 09:26:27 +0000 (+0200) Subject: - one more x32 fix X-Git-Tag: auto/th/mozjs68-68.7.0-1 X-Git-Url: http://git.pld-linux.org/?p=packages%2Fmozjs68.git;a=commitdiff_plain;h=8bb0e50;ds=sidebyside - one more x32 fix --- 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]"