mirror of
https://git.freebsd.org/ports.git
synced 2025-05-28 17:06:32 -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://www.electronjs.org/
22 lines
791 B
C++
22 lines
791 B
C++
--- 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) {
|