From 437b67e3e6dc91f7c2bec294c64f6b9402221356 Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Tue, 25 Oct 2022 07:25:52 +0200 Subject: extra/firefox: added fix-i686-build-moz-1792159 from VoidLinux --- extra/firefox/PKGBUILD | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'extra/firefox/PKGBUILD') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index 5d98c763..eec4248a 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -211,7 +211,7 @@ eval "$( # declaration ?typedef __double_t double_t? # and # typedef __float_t float_t; -# /usr/include/math.h:169:21: note: previous declaration as ?typedef long double float_t? +# /usr/include/math.h:169:21: note: previous declaration as ‘typedef long double float_t’ # typedef long double float_t; source+=('firefox-106.0.1-fdlibm.patch') sha256sums+=('ddc0945f2414828668dd922b6b8203f7fb54d7b1f0aac3e18299bccb5c2facab') @@ -243,3 +243,12 @@ eval "$( ' )" +# from Voidlinux, enable atomics in JIT for i686 +source+=('fix-i686-build-moz-1792159.patch') +sha256sums+=('2fb39374fd3d80eea9e346032a2a4b2bc2e357dee7380855b24bcf19b1335d06') +eval "$( + declare -f prepare | \ + sed ' + $ i patch -p1 -i "$srcdir/fix-i686-build-moz-1792159.patch" + ' +)" -- cgit v1.2.3-70-g09d2