From 15ae20d569f6d11894a1e2fc29169d10432dfb6a Mon Sep 17 00:00:00 2001 From: FrantiĊĦek Zatloukal Date: Feb 23 2021 09:54:01 +0000 Subject: Release 78.8.0 --- diff --git a/.gitignore b/.gitignore index 6b27e3a..dc30f95 100644 --- a/.gitignore +++ b/.gitignore @@ -5,3 +5,4 @@ /firefox-78.5.0esr.source.tar.xz /firefox-78.6.0esr.source.tar.xz /firefox-78.7.0esr.source.tar.xz +/firefox-78.8.0esr.source.tar.xz diff --git a/FixSharedArray.diff b/FixSharedArray.diff new file mode 100644 index 0000000..b7cc45b --- /dev/null +++ b/FixSharedArray.diff @@ -0,0 +1,12 @@ +--- a/js/public/StructuredClone.h ++++ b/js/public/StructuredClone.h +@@ -328,7 +328,7 @@ + namespace js { + class SharedArrayRawBuffer; + +-class SharedArrayRawBufferRefs { ++class JS_PUBLIC_API SharedArrayRawBufferRefs { + public: + SharedArrayRawBufferRefs() = default; + SharedArrayRawBufferRefs(SharedArrayRawBufferRefs&& other) = default; +-- diff --git a/mozjs78.spec b/mozjs78.spec index 0208c38..f2dc4d1 100644 --- a/mozjs78.spec +++ b/mozjs78.spec @@ -23,7 +23,7 @@ %endif Name: mozjs%{major} -Version: 78.7.0 +Version: 78.8.0 Release: 1%{?dist} Summary: SpiderMonkey JavaScript library @@ -53,7 +53,11 @@ Patch17: armv7_disable_WASM_EMULATE_ARM_UNALIGNED_FP_ACCESS.patch Patch18: spidermonkey_style_check_disable_s390x.patch Patch19: 0001-Skip-failing-tests-on-ppc64-and-s390x.patch -BuildRequires: make +# Fix for https://bugzilla.mozilla.org/show_bug.cgi?id=1644600 ( SharedArrayRawBufferRefs is not exported ) +# https://github.com/0ad/0ad/blob/83e81362d850cc6f2b3b598255b873b6d04d5809/libraries/source/spidermonkey/FixSharedArray.diff +Patch30: FixSharedArray.diff + +BuildRequires: make BuildRequires: autoconf213 BuildRequires: cargo BuildRequires: clang-devel @@ -121,6 +125,9 @@ pushd ../.. # Fixes for ppc64 and s390x, there is no need to keep it in ifarch here since mozilla tests support ifarch conditions %patch19 -p1 +# Export SharedArrayRawBufferRefs +%patch30 -p1 + # Copy out the LICENSE file cp LICENSE js/src/ popd @@ -255,6 +262,10 @@ PYTHONPATH=tests/lib %{__python3} jit-test/jit_test.py -s -t 1800 --no-progress %{_includedir}/mozjs-%{major}/ %changelog +* Tue Feb 23 2021 Frantisek Zatloukal - 78.8.0-1 +- Update to 78.8.0 +- Add fix for MOZBZ#1644600 + * Tue Jan 26 2021 Frantisek Zatloukal - 78.7.0-1 - Update to 78.7.0 diff --git a/sources b/sources index bbff9e9..14142ed 100644 --- a/sources +++ b/sources @@ -1 +1 @@ -SHA512 (firefox-78.7.0esr.source.tar.xz) = afa37d2f6bbe04715d84a8964f75139042364501c358da98771115d7fe7d23788e95b6ff29d77c064a9cfcd208c1424924017ef2a72cbb79dbb45d6f365f030c +SHA512 (firefox-78.8.0esr.source.tar.xz) = 0160aa6c408c2af66d24b74cf98e1a07ab1604e7b93ffcde79201f9d68e41e896ef965f1904de52d5dd82ffedae33ac96e93b871727bf5dd5983c5af2f1f439f