From 45dddab6d92cd98fff102e586bbc6eb0a1a930c2 Mon Sep 17 00:00:00 2001 From: Peter Bui Date: Wed, 9 Dec 2020 20:38:35 -0500 Subject: [PATCH] chromium: update to 87.0.4280.88. - Built for x86_64, x86_64-musl. - Tested on x86_64. - Add patch to fix musl 1.2 (reference: https://github.com/void-linux/void-packages/pull/24578#issuecomment-684177274) --- .../chromium/files/musl-patches/musl-sandbox.patch | 13 +++++++++++++ srcpkgs/chromium/template | 4 ++-- 2 files changed, 15 insertions(+), 2 deletions(-) diff --git a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch index c770e76d86..230bb7bbd2 100644 --- a/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch +++ b/srcpkgs/chromium/files/musl-patches/musl-sandbox.patch @@ -77,3 +77,16 @@ index 80f02c0..21fbe21 100644 case __NR_unshare: #if !defined(__mips__) && !defined(__aarch64__) case __NR_vfork: +--- sandbox/policy/linux/bpf_renderer_policy_linux.cc ++++ sandbox/policy/linux/bpf_renderer_policy_linux.cc +@@ -100,9 +100,9 @@ + case __NR_uname: + case __NR_sched_getparam: + case __NR_sched_getscheduler: ++ case __NR_sched_setscheduler: + return Allow(); + case __NR_sched_getaffinity: +- case __NR_sched_setscheduler: + return RestrictSchedTarget(GetPolicyPid(), sysno); + case __NR_prlimit64: + // See crbug.com/662450 and setrlimit comment above. diff --git a/srcpkgs/chromium/template b/srcpkgs/chromium/template index cf14cbb47c..7cb351b6f2 100644 --- a/srcpkgs/chromium/template +++ b/srcpkgs/chromium/template @@ -1,7 +1,7 @@ # Template file for 'chromium' pkgname=chromium # See http://www.chromium.org/developers/calendar for the latest version -version=87.0.4280.66 +version=87.0.4280.88 revision=1 archs="i686* x86_64* aarch64* armv7l* ppc64le*" short_desc="Google's attempt at creating a safer, faster, and more stable browser" @@ -9,7 +9,7 @@ maintainer="Enno Boland " license="BSD-3-Clause" homepage="https://www.chromium.org/" distfiles="https://commondatastorage.googleapis.com/chromium-browser-official/${pkgname}-${version}.tar.xz" -checksum=29a8e4ea82edec2fdcf34ece68323bec7ab90f3d5669e6b77f58cff9c278f741 +checksum=3e4645328735ef60db78d1a313efb3770a3edeaede90d076414df52f567a09c0 nocross=yes lib32disabled=yes