diff options
Diffstat (limited to 'devel/electron13/files/patch-ipc_ipc__channel__mojo.cc')
-rw-r--r-- | devel/electron13/files/patch-ipc_ipc__channel__mojo.cc | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-ipc_ipc__channel__mojo.cc b/devel/electron13/files/patch-ipc_ipc__channel__mojo.cc new file mode 100644 index 000000000000..c4055f7a291b --- /dev/null +++ b/devel/electron13/files/patch-ipc_ipc__channel__mojo.cc @@ -0,0 +1,15 @@ +--- ipc/ipc_channel_mojo.cc.orig 2021-07-15 19:13:41 UTC ++++ ipc/ipc_channel_mojo.cc +@@ -76,10 +76,10 @@ class MojoChannelFactory : public ChannelFactory { + }; + + base::ProcessId GetSelfPID() { +-#if defined(OS_LINUX) || defined(OS_CHROMEOS) ++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) + if (int global_pid = Channel::GetGlobalPid()) + return global_pid; +-#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) ++#endif // defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD) + #if defined(OS_NACL) + return -1; + #else |