aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-ipc_ipc__channel.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-ipc_ipc__channel.h')
-rw-r--r--devel/electron29/files/patch-ipc_ipc__channel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-ipc_ipc__channel.h b/devel/electron29/files/patch-ipc_ipc__channel.h
new file mode 100644
index 000000000000..507ea3f78dff
--- /dev/null
+++ b/devel/electron29/files/patch-ipc_ipc__channel.h
@@ -0,0 +1,11 @@
+--- ipc/ipc_channel.h.orig 2024-02-21 00:20:48 UTC
++++ ipc/ipc_channel.h
+@@ -240,7 +240,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.