diff options
author | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 11:35:15 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-02-20 11:42:02 +0000 |
commit | a23dfd214ae04e8b4d116ca6411570b684eb5ed6 (patch) | |
tree | a42703b6563673398eee97ae6ad4d01eafd77738 /www/chromium/files/patch-sandbox_policy_sandbox.h | |
parent | 9341f0aca4ecea11124957da5ea6384640745e43 (diff) | |
download | ports-a23dfd214ae04e8b4d116ca6411570b684eb5ed6.tar.gz ports-a23dfd214ae04e8b4d116ca6411570b684eb5ed6.zip |
www/chromium: update to 98.0.4758.102
- The port now uses the combined patch set for OpenBSD and FreeBSD
maintained by Robert Nagy.
- Fix build on i386 again.
Obtained from: Robert Nagy <robert@openbsd.org>
Security: https://vuxml.freebsd.org/freebsd/e12432af-8e73-11ec-8bc4-3065ec8fd3ec.html
Security: https://vuxml.freebsd.org/freebsd/e852f43c-846e-11ec-b043-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-sandbox_policy_sandbox.h')
-rw-r--r-- | www/chromium/files/patch-sandbox_policy_sandbox.h | 30 |
1 files changed, 14 insertions, 16 deletions
diff --git a/www/chromium/files/patch-sandbox_policy_sandbox.h b/www/chromium/files/patch-sandbox_policy_sandbox.h index d8da02cb7e6d..a42cd1e2a453 100644 --- a/www/chromium/files/patch-sandbox_policy_sandbox.h +++ b/www/chromium/files/patch-sandbox_policy_sandbox.h @@ -1,24 +1,22 @@ ---- sandbox/policy/sandbox.h.orig 2022-01-20 10:36:01 UTC +--- sandbox/policy/sandbox.h.orig 2022-02-07 13:39:41 UTC +++ sandbox/policy/sandbox.h -@@ -8,6 +8,10 @@ - #include "build/build_config.h" - #include "sandbox/policy/export.h" - -+#if defined(OS_FREEBSD) -+#include "sandbox/policy/freebsd/sandbox_freebsd.h" -+#endif -+ - #if defined(OS_LINUX) || defined(OS_CHROMEOS) +@@ -12,6 +12,10 @@ #include "sandbox/policy/linux/sandbox_linux.h" #endif -@@ -32,6 +36,10 @@ namespace policy { + ++#if defined(OS_BSD) ++#include "sandbox/policy/openbsd/sandbox_openbsd.h" ++#endif ++ + namespace sandbox { + namespace mojom { + enum class Sandbox; +@@ -32,7 +36,7 @@ namespace policy { class SANDBOX_POLICY_EXPORT Sandbox { public: -+#if defined(OS_FREEBSD) -+ static bool Initialize(sandbox::mojom::Sandbox sandbox_type); -+#endif // defined(OS_FREEBSD) -+ - #if defined(OS_LINUX) || defined(OS_CHROMEOS) +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) static bool Initialize(sandbox::mojom::Sandbox sandbox_type, SandboxLinux::PreSandboxHook hook, + const SandboxLinux::Options& options); |