Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/extra/qt5-webengine/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2020-08-16 10:07:04 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2020-08-16 10:07:04 +0200
commit59469e0e1394a098b76a1198c0eaa3de62a3b20f (patch)
tree948943fa269d3e098e1968ef132ec8e81a2b2735 /extra/qt5-webengine/PKGBUILD
parent224871404b2fcf34b0282a40beb374ee3b5e02fa (diff)
extra/qt5-webengine: added patch for seccomp BFP filtering failures in Chromium
Diffstat (limited to 'extra/qt5-webengine/PKGBUILD')
-rw-r--r--extra/qt5-webengine/PKGBUILD13
1 files changed, 13 insertions, 0 deletions
diff --git a/extra/qt5-webengine/PKGBUILD b/extra/qt5-webengine/PKGBUILD
index 7af5e50c..3a6bd03e 100644
--- a/extra/qt5-webengine/PKGBUILD
+++ b/extra/qt5-webengine/PKGBUILD
@@ -37,3 +37,16 @@ eval "$(
$ i cd "$srcdir/${_pkgfqn}"; patch -Np1 -i "${srcdir}"/qtwebengine-everywhere-src-5.15.0-gcc10-patches.patch
'
)"
+
+# backport seccomp time function jail fix from chromium
+# for for 64-bit time functions in seccomp sanbox (thanks to schnitzeltony)
+# https://github.com/schnitzeltony/meta-browser/blob/master/recipes-browser/chromium/files/0003-Fix-sandbox-Aw-snap-for-syscalls-403-and-407.patch
+source+=('qtwebengine-everywhere-src-5.15.0-sandbox-Aw-snap-for-syscalls-403-and-407.patch')
+sha256sums+=('606adb05a5bc903ac371e8040a4c2b06847d32de72be8b15949a161946aa826c')
+
+eval "$(
+ declare -f prepare | \
+ sed '
+ $ i cd "$srcdir/${_pkgfqn}"; patch -Np1 -i "${srcdir}"/qtwebengine-everywhere-src-5.15.0-sandbox-Aw-snap-for-syscalls-403-and-407.patch
+ '
+)"