diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:28:24 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2021-11-24 17:30:52 +0900 |
commit | 4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch) | |
tree | 21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-sandbox_policy_sandbox.h | |
parent | ports-mgmt/octopkg: update description and WWW (diff) |
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-sandbox_policy_sandbox.h')
-rw-r--r-- | devel/electron13/files/patch-sandbox_policy_sandbox.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-sandbox_policy_sandbox.h b/devel/electron13/files/patch-sandbox_policy_sandbox.h new file mode 100644 index 000000000000..b554e59e6cc1 --- /dev/null +++ b/devel/electron13/files/patch-sandbox_policy_sandbox.h @@ -0,0 +1,24 @@ +--- sandbox/policy/sandbox.h.orig 2021-07-15 19:13:43 UTC ++++ sandbox/policy/sandbox.h +@@ -9,6 +9,10 @@ + #include "sandbox/policy/export.h" + #include "sandbox/policy/sandbox_type.h" + ++#if defined(OS_FREEBSD) ++#include "sandbox/policy/freebsd/sandbox_freebsd.h" ++#endif ++ + #if defined(OS_LINUX) || defined(OS_CHROMEOS) + #include "sandbox/policy/linux/sandbox_linux.h" + #endif +@@ -30,6 +34,10 @@ namespace policy { + + class SANDBOX_POLICY_EXPORT Sandbox { + public: ++#if defined(OS_FREEBSD) ++ static bool Initialize(SandboxType sandbox_type); ++#endif // defined(OS_FREEBSD) ++ + #if defined(OS_LINUX) || defined(OS_CHROMEOS) + static bool Initialize(SandboxType sandbox_type, + SandboxLinux::PreSandboxHook hook, |