summaryrefslogtreecommitdiff
path: root/devel/electron36/files/patch-ipc_ipc__channel.h
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2025-05-17 13:00:51 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2025-05-17 13:02:57 +0900
commit8bd9cc08b803173bbc7e68479f6e7be9735980f4 (patch)
tree71f5fcbea6aec8fdfd22ae5e4be385a99ec5655f /devel/electron36/files/patch-ipc_ipc__channel.h
parentnet-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-ipc_ipc__channel.h')
-rw-r--r--devel/electron36/files/patch-ipc_ipc__channel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron36/files/patch-ipc_ipc__channel.h b/devel/electron36/files/patch-ipc_ipc__channel.h
new file mode 100644
index 000000000000..7404b35c1391
--- /dev/null
+++ b/devel/electron36/files/patch-ipc_ipc__channel.h
@@ -0,0 +1,11 @@
+--- ipc/ipc_channel.h.orig 2024-06-18 21:43:35 UTC
++++ ipc/ipc_channel.h
+@@ -218,7 +218,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
+ static std::string GenerateUniqueRandomChannelID();
+ #endif
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ // Sandboxed processes live in a PID namespace, so when sending the IPC hello
+ // message from client to server we need to send the PID from the global
+ // PID namespace.