mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 07:00:31 -04:00
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/
22 lines
715 B
C++
22 lines
715 B
C++
--- sandbox/policy/sandbox.h.orig 2022-02-28 16:54:41 UTC
|
|
+++ sandbox/policy/sandbox.h
|
|
@@ -12,6 +12,10 @@
|
|
#include "sandbox/policy/linux/sandbox_linux.h"
|
|
#endif
|
|
|
|
+#if BUILDFLAG(IS_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 BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
|
|
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
static bool Initialize(sandbox::mojom::Sandbox sandbox_type,
|
|
SandboxLinux::PreSandboxHook hook,
|
|
const SandboxLinux::Options& options);
|