From 606bc59d0f8f67815c6a717843835477d44db6b3 Mon Sep 17 00:00:00 2001 From: davidovski Date: Sun, 1 May 2022 21:21:05 +0000 Subject: added ungoogled chromium --- extra/chromium/fix-unittests-sandbox.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 extra/chromium/fix-unittests-sandbox.patch (limited to 'extra/chromium/fix-unittests-sandbox.patch') diff --git a/extra/chromium/fix-unittests-sandbox.patch b/extra/chromium/fix-unittests-sandbox.patch new file mode 100644 index 0000000..e11face --- /dev/null +++ b/extra/chromium/fix-unittests-sandbox.patch @@ -0,0 +1,11 @@ +--- ./sandbox/linux/syscall_broker/broker_file_permission_unittest.cc.orig ++++ ./sandbox/linux/syscall_broker/broker_file_permission_unittest.cc +@@ -134,7 +134,7 @@ + #endif + + const int kNumberOfBitsInOAccMode = 2; +- static_assert(O_ACCMODE == ((1 << kNumberOfBitsInOAccMode) - 1), ++ static_assert(O_ACCMODE == (((1 << kNumberOfBitsInOAccMode) - 1) | O_PATH), + "incorrect number of bits"); + // check every possible flag and act accordingly. + // Skipping AccMode bits as they are present in every case. -- cgit v1.2.1