mozjs78: update to 78.9.0.

This commit is contained in:
Enno Boland 2021-04-12 00:00:43 +02:00
parent f1884af21f
commit 217ebb8ea6
No known key found for this signature in database
GPG key ID: 5A7B9F1D0DFEB55D
2 changed files with 2 additions and 16 deletions

View file

@ -1,14 +0,0 @@
On 32-bit systems without JIT, the GC doesn't like 4-byte alignment,
so enforce a stricter one.
--- a/js/src/jit/none/MacroAssembler-none.h
+++ b/js/src/jit/none/MacroAssembler-none.h
@@ -100,7 +100,7 @@ static constexpr Register WasmTlsReg{Registers::invalid_reg};
static constexpr Register WasmJitEntryReturnScratch{Registers::invalid_reg};
static constexpr uint32_t ABIStackAlignment = 4;
-static constexpr uint32_t CodeAlignment = sizeof(void*);
+static constexpr uint32_t CodeAlignment = 8;
static constexpr uint32_t JitStackAlignment = 8;
static constexpr uint32_t JitStackValueAlignment =
JitStackAlignment / sizeof(Value);

View file

@ -1,6 +1,6 @@
# Template file for 'mozjs78'
pkgname=mozjs78
version=78.2.0
version=78.9.0
revision=1
wrksrc="firefox-${version}"
build_wrksrc=js/src
@ -16,7 +16,7 @@ maintainer="q66 <daniel@octaforge.org>"
license="MPL-2.0"
homepage="https://www.mozilla.org/firefox/"
distfiles="${MOZILLA_SITE}/firefox/releases/${version}esr/source/firefox-${version}esr.source.tar.xz"
checksum=965ccfcbb8c0aa97639911997c54be0fcf896fd388b03138952089af675ea918
checksum=8e03ac1dfc5ac804c8b13a529414a9387e0425e545bb2f4462d74c3175e64864
patch_args="-Np1"
CXXFLAGS="-Wno-class-memaccess"