aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-ipc_ipc__channel__mojo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-ipc_ipc__channel__mojo.cc')
-rw-r--r--devel/electron37/files/patch-ipc_ipc__channel__mojo.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-ipc_ipc__channel__mojo.cc b/devel/electron37/files/patch-ipc_ipc__channel__mojo.cc
new file mode 100644
index 000000000000..aad0bd25fa8f
--- /dev/null
+++ b/devel/electron37/files/patch-ipc_ipc__channel__mojo.cc
@@ -0,0 +1,11 @@
+--- ipc/ipc_channel_mojo.cc.orig 2023-02-01 18:43:22 UTC
++++ ipc/ipc_channel_mojo.cc
+@@ -105,7 +105,7 @@ class ThreadSafeChannelProxy : public mojo::ThreadSafe
+ };
+
+ base::ProcessId GetSelfPID() {
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
+ if (int global_pid = Channel::GetGlobalPid())
+ return global_pid;
+ #endif // BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS)