diff options
author | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-05-17 13:00:51 +0900 |
---|---|---|
committer | Hiroki Tagato <tagattie@FreeBSD.org> | 2025-05-17 13:02:57 +0900 |
commit | 8bd9cc08b803173bbc7e68479f6e7be9735980f4 (patch) | |
tree | 71f5fcbea6aec8fdfd22ae5e4be385a99ec5655f /devel/electron36/files/patch-sandbox_policy_sandbox.cc | |
parent | net-mgmt/prometheus-bird-exporter: Prometheus metric exporter for the BIRD ro... (diff) |
devel/electron36: add port: Build cross-platform desktop apps with JavaScript, HTML, and CSS
Build cross platform desktop apps with JavaScript, HTML, and CSS.
It's easier than you think.
If you can build a website, you can build a desktop app. Electron is a
framework for creating native applications with web technologies like
JavaScript, HTML, and CSS. It takes care of the hard parts so you can
focus on the core of your application.
WWW: https://electronjs.org/
Diffstat (limited to 'devel/electron36/files/patch-sandbox_policy_sandbox.cc')
-rw-r--r-- | devel/electron36/files/patch-sandbox_policy_sandbox.cc | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-sandbox_policy_sandbox.cc b/devel/electron36/files/patch-sandbox_policy_sandbox.cc new file mode 100644 index 000000000000..19df6f473d79 --- /dev/null +++ b/devel/electron36/files/patch-sandbox_policy_sandbox.cc @@ -0,0 +1,22 @@ +--- 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) { |