firefox-hg: update to 101.0rc6
This commit is contained in:
parent
1b6733360f
commit
d80fa0f931
2 changed files with 18 additions and 5 deletions
|
@ -1,18 +1,19 @@
|
||||||
pkgname=firefox
|
pkgname=firefox
|
||||||
pkgver=26726cd430955db041e5de33d9792bb816c57608
|
pkgver=101.0
|
||||||
mkdeps="cbindgen:rust"
|
mkdeps="cbindgen:rust"
|
||||||
|
|
||||||
fetch() {
|
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://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
|
#curl "https://hg.mozilla.org/mozilla-unified/archive/26726cd430955db041e5de33d9792bb816c57608.zip" -o $pkgname-$pkgver.zip
|
||||||
unzip
|
curl "https://archive.mozilla.org/pub/firefox/releases/${pkgver}b3/source/firefox-${pkgver}b3.source.tar.xz" -o $pkgname-$pkgver.tar.xz
|
||||||
mv mozilla-unified-$pkgver $pkgname-$pkgver
|
tar -xf $pkgname-$pkgver.tar.xz
|
||||||
cd $pkgname-$pkgver
|
cd $pkgname-$pkgver
|
||||||
# patch -p1 < ../../no-x11.patch
|
# patch -p1 < ../../no-x11.patch
|
||||||
# patch -p1 < ../../fix-clang-as.patch
|
# patch -p1 < ../../fix-clang-as.patch
|
||||||
patch -p1 < ../../avoid-redefinition.patch
|
patch -p1 < ../../avoid-redefinition.patch
|
||||||
patch -p1 < ../../libcxx.patch
|
patch -p1 < ../../libcxx.patch
|
||||||
patch -p1 < ../../grefptr.patch
|
patch -p1 < ../../grefptr.patch
|
||||||
|
patch -p1 < ../../sandbox-allow-select.patch
|
||||||
# patch -p1 < ../../sandbox-fork.patch
|
# patch -p1 < ../../sandbox-fork.patch
|
||||||
# patch -p1 < ../../sandbox-sched.patch
|
# patch -p1 < ../../sandbox-sched.patch
|
||||||
}
|
}
|
||||||
|
@ -68,7 +69,7 @@ ac_add_options --without-wasm-sandboxed-libraries
|
||||||
#ac_add_options MOZ_PGO=1
|
#ac_add_options MOZ_PGO=1
|
||||||
EOF
|
EOF
|
||||||
|
|
||||||
bad --gmake --gm4 --autoconf ./mach clobber
|
# bad --gmake --gm4 --autoconf ./mach clobber
|
||||||
bad --gmake --gm4 --autoconf ./mach build
|
bad --gmake --gm4 --autoconf ./mach build
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
12
gui/firefox-hg/sandbox-allow-select.patch
Normal file
12
gui/firefox-hg/sandbox-allow-select.patch
Normal 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);
|
||||||
|
}
|
Loading…
Reference in a new issue