mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 19:06:28 -04:00
Finally, after a long wait, an electron port for FreeBSD lands in the portstree. A huge thanks to everyone contributed to this huge effort and to the maintainer that is willing to take the burden of the maintainership!
11 lines
351 B
C++
11 lines
351 B
C++
--- ipc/ipc_channel_mojo.cc.orig 2019-03-15 06:37:27 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
|