aboutsummaryrefslogtreecommitdiff
path: root/devel/electron39/files/patch-ipc_ipc__channel__mojo.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron39/files/patch-ipc_ipc__channel__mojo.cc')
-rw-r--r--devel/electron39/files/patch-ipc_ipc__channel__mojo.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron39/files/patch-ipc_ipc__channel__mojo.cc b/devel/electron39/files/patch-ipc_ipc__channel__mojo.cc
new file mode 100644
index 000000000000..8176093d8131
--- /dev/null
+++ b/devel/electron39/files/patch-ipc_ipc__channel__mojo.cc
@@ -0,0 +1,11 @@
+--- ipc/ipc_channel_mojo.cc.orig 2025-10-21 20:19:54 UTC
++++ ipc/ipc_channel_mojo.cc
+@@ -72,7 +72,7 @@ base::ProcessId GetSelfPID() {
+ };
+
+ 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)