summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-ipc_ipc__channel.h
diff options
context:
space:
mode:
authorHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:28:24 +0900
committerHiroki Tagato <tagattie@FreeBSD.org>2021-11-24 17:30:52 +0900
commit4da4f5edbf9de5c4269cf66d70044f4cb3abdc41 (patch)
tree21363ca7518a943c48bde3a669c78444685f832e /devel/electron13/files/patch-ipc_ipc__channel.h
parentports-mgmt/octopkg: update description and WWW (diff)
devel/electron13: update to 13.6.2 (and rename from devel/electron12)
Changelog: https://www.electronjs.org/blog/electron-13-0
Diffstat (limited to 'devel/electron13/files/patch-ipc_ipc__channel.h')
-rw-r--r--devel/electron13/files/patch-ipc_ipc__channel.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-ipc_ipc__channel.h b/devel/electron13/files/patch-ipc_ipc__channel.h
new file mode 100644
index 000000000000..7f6fb91fd31c
--- /dev/null
+++ b/devel/electron13/files/patch-ipc_ipc__channel.h
@@ -0,0 +1,11 @@
+--- ipc/ipc_channel.h.orig 2021-01-07 00:36:36 UTC
++++ ipc/ipc_channel.h
+@@ -244,7 +244,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
+ static std::string GenerateUniqueRandomChannelID();
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_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.