summaryrefslogtreecommitdiff
path: root/devel/electron33/files/patch-sandbox_policy_sandbox.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron33/files/patch-sandbox_policy_sandbox.cc')
-rw-r--r--devel/electron33/files/patch-sandbox_policy_sandbox.cc22
1 files changed, 0 insertions, 22 deletions
diff --git a/devel/electron33/files/patch-sandbox_policy_sandbox.cc b/devel/electron33/files/patch-sandbox_policy_sandbox.cc
deleted file mode 100644
index 19df6f473d79..000000000000
--- a/devel/electron33/files/patch-sandbox_policy_sandbox.cc
+++ /dev/null
@@ -1,22 +0,0 @@
---- sandbox/policy/sandbox.cc.orig 2024-04-15 20:34:03 UTC
-+++ sandbox/policy/sandbox.cc
-@@ -18,6 +18,10 @@
- #include "sandbox/policy/linux/sandbox_linux.h"
- #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-
-+#if BUILDFLAG(IS_BSD)
-+#include "sandbox/policy/sandbox.h"
-+#endif // BUILDFLAG(IS_BSD)
-+
- #if BUILDFLAG(IS_MAC)
- #include "sandbox/mac/seatbelt.h"
- #endif // BUILDFLAG(IS_MAC)
-@@ -32,7 +36,7 @@ namespace policy {
- namespace sandbox {
- namespace policy {
-
--#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
-+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
- bool Sandbox::Initialize(sandbox::mojom::Sandbox sandbox_type,
- SandboxLinux::PreSandboxHook hook,
- const SandboxLinux::Options& options) {