From 42ec7e1bed416c9fac5986659e80ec6d901ec5ac Mon Sep 17 00:00:00 2001 From: Andreas Baumann Date: Mon, 26 Sep 2022 18:44:46 +0200 Subject: extra/firefox: trying to build 104.0.2 --- extra/firefox/PKGBUILD | 30 ++++++++---------------------- extra/firefox/mozconfig-i686.patch | Bin 802 -> 673 bytes extra/firefox/mozconfig-pentium4.patch | Bin 733 -> 604 bytes 3 files changed, 8 insertions(+), 22 deletions(-) (limited to 'extra/firefox') diff --git a/extra/firefox/PKGBUILD b/extra/firefox/PKGBUILD index 316038d3..62882c10 100644 --- a/extra/firefox/PKGBUILD +++ b/extra/firefox/PKGBUILD @@ -4,7 +4,7 @@ # set correct compiler and toochain tools if [ "${CARCH}" = "pentium4" ]; then source+=('mozconfig-pentium4.patch') - sha256sums+=('6aafff15bc3e11137a295869c16bf07aaf110f5fa39545bb27da1a182d1e9b4a') + sha256sums+=('e0d62cbed819264cb000a73260201c357a72ce0abcf9eaede3588f270a566f9a') eval "$( declare -f prepare | \ sed ' @@ -14,7 +14,7 @@ eval "$( fi if [ "${CARCH}" = "i686" ]; then source+=('mozconfig-i686.patch') - sha256sums+=('56f7faa75bc16b9948c37e84309efd59c7d932a6f9a579135040fa7f94da35db') + sha256sums+=('9cdfa0d20ffaf1102b16e4cf97add8819939647316e4c7d65d642e2a7cea1ad0') eval "$( declare -f prepare | \ sed ' @@ -22,9 +22,6 @@ eval "$( ' )" fi -makedepends=("${makedepends[@]/wasi-compiler-rt/wasi-compiler-rt=14.0.6}") # dustbin -makedepends=(${makedepends[*]/wasi-libc++*/}) -makedepends+=(wasi-libc++=14.0.6 wasi-libc++abi=14.0.6 llvm13) # dustbin # try hard to tell ld and rust not to use too much memory (no lto, no debug info, etc.) eval "$( @@ -193,23 +190,6 @@ if [ "${CARCH}" = "i686" ]; then CXXFLAGS="$CXXFLAGS -mmmx" fi -# actually, this should be fixed in gcc 11? -# for now let's build with gcc10 -# -# https://bugzilla.mozilla.org/show_bug.cgi?id=1713071 -# https://bugzilla.mozilla.org/show_bug.cgi?id=1710235 -# https://gcc.gnu.org/bugzilla/show_bug.cgi?id=100644 -# -#11:28.22 /usr/include/c++/11.1.0/type_traits:2933:11: error: no type named ?type? in -# ?struct std::invoke_result > >::PutEntry(nsTHashtable > >::KeyType, const fallible_t&)::, mozilla::Maybe > >::EntryHandle>&&>? -#11:28.22 2933 | using invoke_result_t = typename invoke_result<_Fn, _Args...>:: -#type; -makedepends+=(gcc10) - # do not build and phone back symbols, fails anyway with: # "panic occurred at library/alloc/src/raw_vec.rs:537: capacity overflow\n" in # dump_syms (see also FS32#174) @@ -248,3 +228,9 @@ eval "$( strip "$pkgdir/usr/lib/$pkgname/libxul.so" ' )" + +# 105.0.x has issues with AVX2 creeping everywhere, let's build 104 for now (and hope they fix it) +sed -i ' + s/^pkgver=105.0.1$/pkgver=104.0.2/ +' PKGBUILD +sha256sums[0]='72bba06f04e7745f6b02951906413eb1c15a7e253e06e373302162c6219f286a' diff --git a/extra/firefox/mozconfig-i686.patch b/extra/firefox/mozconfig-i686.patch index f4d3c077..35b0a095 100644 Binary files a/extra/firefox/mozconfig-i686.patch and b/extra/firefox/mozconfig-i686.patch differ diff --git a/extra/firefox/mozconfig-pentium4.patch b/extra/firefox/mozconfig-pentium4.patch index 0201a74f..1cecd845 100644 Binary files a/extra/firefox/mozconfig-pentium4.patch and b/extra/firefox/mozconfig-pentium4.patch differ -- cgit v1.2.3-54-g00ecf