firefox-hg: update to 101.0rc6

This commit is contained in:
Ella Stanforth 2022-05-07 19:39:10 +00:00
parent 1b6733360f
commit d80fa0f931
2 changed files with 18 additions and 5 deletions

View file

@ -1,18 +1,19 @@
pkgname=firefox
pkgver=26726cd430955db041e5de33d9792bb816c57608
pkgver=101.0
mkdeps="cbindgen:rust"
fetch() {
#curl "https://ftp.mozilla.org/pub/firefox/releases/${pkgver}esr/source/firefox-${pkgver}esr.source.tar.xz" -o $pkgname-$pkgver.tar.xz
curl "https://hg.mozilla.org/mozilla-unified/archive/26726cd430955db041e5de33d9792bb816c57608.zip" -o $pkgname-$pkgver.zip
unzip
mv mozilla-unified-$pkgver $pkgname-$pkgver
#curl "https://hg.mozilla.org/mozilla-unified/archive/26726cd430955db041e5de33d9792bb816c57608.zip" -o $pkgname-$pkgver.zip
curl "https://archive.mozilla.org/pub/firefox/releases/${pkgver}b3/source/firefox-${pkgver}b3.source.tar.xz" -o $pkgname-$pkgver.tar.xz
tar -xf $pkgname-$pkgver.tar.xz
cd $pkgname-$pkgver
# patch -p1 < ../../no-x11.patch
# patch -p1 < ../../fix-clang-as.patch
patch -p1 < ../../avoid-redefinition.patch
patch -p1 < ../../libcxx.patch
patch -p1 < ../../grefptr.patch
patch -p1 < ../../sandbox-allow-select.patch
# patch -p1 < ../../sandbox-fork.patch
# patch -p1 < ../../sandbox-sched.patch
}
@ -68,7 +69,7 @@ ac_add_options --without-wasm-sandboxed-libraries
#ac_add_options MOZ_PGO=1
EOF
bad --gmake --gm4 --autoconf ./mach clobber
# bad --gmake --gm4 --autoconf ./mach clobber
bad --gmake --gm4 --autoconf ./mach build
}

View file

@ -0,0 +1,12 @@
--- a/security/sandbox/linux/SandboxFilter.cpp
+++ b/security/sandbox/linux/SandboxFilter.cpp
@@ -1999,6 +1999,9 @@
case __NR_uname:
return Allow();
+ CASES_FOR_select:
+ return Allow();
+
default:
return SandboxPolicyCommon::EvaluateSyscall(sysno);
}