diff options
Diffstat (limited to 'devel/electron5/files/patch-ipc_ipc__channel__mojo.cc')
-rw-r--r-- | devel/electron5/files/patch-ipc_ipc__channel__mojo.cc | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron5/files/patch-ipc_ipc__channel__mojo.cc b/devel/electron5/files/patch-ipc_ipc__channel__mojo.cc new file mode 100644 index 000000000000..23d22bf7228d --- /dev/null +++ b/devel/electron5/files/patch-ipc_ipc__channel__mojo.cc @@ -0,0 +1,11 @@ +--- ipc/ipc_channel_mojo.cc.orig 2019-04-08 08:32:59 UTC ++++ ipc/ipc_channel_mojo.cc +@@ -64,7 +64,7 @@ class MojoChannelFactory : public ChannelFactory { + }; + + base::ProcessId GetSelfPID() { +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + if (int global_pid = Channel::GetGlobalPid()) + return global_pid; + #endif // OS_LINUX |