mirror of
https://git.freebsd.org/ports.git
synced 2025-04-28 17:46:38 -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/
18 lines
647 B
C++
18 lines
647 B
C++
--- content/browser/sandbox_host_linux.cc.orig 2023-10-19 19:58:22 UTC
|
|
+++ content/browser/sandbox_host_linux.cc
|
|
@@ -45,6 +45,7 @@ void SandboxHostLinux::Init() {
|
|
// Instead, it replies on a temporary socket provided by the caller.
|
|
PCHECK(0 == shutdown(browser_socket, SHUT_WR)) << "shutdown";
|
|
|
|
+#if !BUILDFLAG(IS_BSD)
|
|
int pipefds[2];
|
|
CHECK(0 == pipe(pipefds));
|
|
const int child_lifeline_fd = pipefds[0];
|
|
@@ -55,6 +56,7 @@ void SandboxHostLinux::Init() {
|
|
ipc_thread_ = std::make_unique<base::DelegateSimpleThread>(
|
|
ipc_handler_.get(), "sandbox_ipc_thread");
|
|
ipc_thread_->Start();
|
|
+#endif
|
|
}
|
|
|
|
} // namespace content
|