aboutsummaryrefslogtreecommitdiff
path: root/devel/electron29/files/patch-base_process_process__handle.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron29/files/patch-base_process_process__handle.cc')
-rw-r--r--devel/electron29/files/patch-base_process_process__handle.cc11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron29/files/patch-base_process_process__handle.cc b/devel/electron29/files/patch-base_process_process__handle.cc
new file mode 100644
index 000000000000..efb95e7c3b54
--- /dev/null
+++ b/devel/electron29/files/patch-base_process_process__handle.cc
@@ -0,0 +1,11 @@
+--- base/process/process_handle.cc.orig 2022-02-28 16:54:41 UTC
++++ base/process/process_handle.cc
+@@ -30,7 +30,7 @@ UniqueProcId GetUniqueIdForProcess() {
+ : UniqueProcId(GetCurrentProcId());
+ }
+
+-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_AIX) || BUILDFLAG(IS_BSD)
+
+ void InitUniqueIdForProcessInPidNamespace(ProcessId pid_outside_of_namespace) {
+ DCHECK(pid_outside_of_namespace != kNullProcessId);