summaryrefslogtreecommitdiff
path: root/www/chromium-uc/patches/patch-ipc_ipc_channel_h
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium-uc/patches/patch-ipc_ipc_channel_h')
-rw-r--r--www/chromium-uc/patches/patch-ipc_ipc_channel_h14
1 files changed, 14 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-ipc_ipc_channel_h b/www/chromium-uc/patches/patch-ipc_ipc_channel_h
new file mode 100644
index 0000000..9c5c14f
--- /dev/null
+++ b/www/chromium-uc/patches/patch-ipc_ipc_channel_h
@@ -0,0 +1,14 @@
1$OpenBSD: patch-ipc_ipc_channel_h,v 1.11 2021/09/01 16:54:40 robert Exp $
2
3Index: ipc/ipc_channel.h
4--- ipc/ipc_channel.h.orig
5+++ ipc/ipc_channel.h
6@@ -236,7 +236,7 @@ class COMPONENT_EXPORT(IPC) Channel : public Sender {
7 static std::string GenerateUniqueRandomChannelID();
8 #endif
9
10-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
11+#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_BSD)
12 // Sandboxed processes live in a PID namespace, so when sending the IPC hello
13 // message from client to server we need to send the PID from the global
14 // PID namespace.