summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-ipc_ipc__channel__posix.h
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
committerRene Ladan <rene@FreeBSD.org>2016-11-22 19:10:21 +0000
commit9187a6460fc419eec4dc64a4569e306722a83427 (patch)
treeb3d680efe613bd39a30a50f60bcb0ce36a78eab2 /www/chromium/files/patch-ipc_ipc__channel__posix.h
parentSome aarch64 servers apparently have ACPI. Attempt to build on aarch64 (diff)
www/chromium: update to 54.0.2840.100
Submitted by: clutton <clutton@zoho.com> Reviewed by: cpm, rene Obtained from: https://github.com/paranormal/ MFH: 2016Q4 Security: https://vuxml.freebsd.org/freebsd/769ba449-79e1-11e6-bf75-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/653a8059-7c49-11e6-9242-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9c135c7e-9fa4-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/9118961b-9fa5-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/ae9cb9b8-a203-11e6-a265-3065ec8fd3ec.html Security: https://vuxml.freebsd.org/freebsd/a3473f5a-a739-11e6-afaa-e8e0b747a45a.html Differential Revision: https://reviews.freebsd.org/D8517
Diffstat (limited to 'www/chromium/files/patch-ipc_ipc__channel__posix.h')
-rw-r--r--www/chromium/files/patch-ipc_ipc__channel__posix.h28
1 files changed, 28 insertions, 0 deletions
diff --git a/www/chromium/files/patch-ipc_ipc__channel__posix.h b/www/chromium/files/patch-ipc_ipc__channel__posix.h
new file mode 100644
index 000000000000..e0d4690c6c55
--- /dev/null
+++ b/www/chromium/files/patch-ipc_ipc__channel__posix.h
@@ -0,0 +1,28 @@
+--- ipc/ipc_channel_posix.h.orig 2016-08-13 00:22:20.959322000 +0300
++++ ipc/ipc_channel_posix.h 2016-08-13 00:07:29.393338000 +0300
+@@ -63,10 +63,10 @@
+ void CloseClientFileDescriptor();
+
+ static bool IsNamedServerInitialized(const std::string& channel_id);
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ static void SetGlobalPid(int pid);
+ static int GetGlobalPid();
+-#endif // OS_LINUX
++#endif // OS_LINUX || defined(OS_BSD)
+
+ private:
+ bool CreatePipe(const IPC::ChannelHandle& channel_handle);
+@@ -209,10 +209,10 @@
+ // True if we are responsible for unlinking the unix domain socket file.
+ bool must_unlink_;
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ // If non-zero, overrides the process ID sent in the hello message.
+ static int global_pid_;
+-#endif // OS_LINUX
++#endif // OS_LINUX || defined(OS_BSD)
+
+ DISALLOW_IMPLICIT_CONSTRUCTORS(ChannelPosix);
+ };