summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-base_process_process__util__unittest.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-04-13 10:37:15 +0000
committerRene Ladan <rene@FreeBSD.org>2020-04-13 10:37:15 +0000
commite3b53fa1271f0ecfc6d650148fa6a2ce7fd59689 (patch)
tree4282b6dacc1a8a20ec4bc04900a236b3e3fb61a0 /www/chromium/files/patch-base_process_process__util__unittest.cc
parentUpdate java plugin. (diff)
www/chromium: update to 81.0.4044.92
Currently the camera and geolocation do not work. Submitted by: Matthias Wolf Obtained from: https://github.com/gliaskos/freebsd-chromium/pull/173 Obtained from: https://github.com/gliaskos/freebsd-chromium/pull/174 MFH: 2020Q2 Security: https://www.vuxml.org/freebsd/6e3b700a-7ca3-11ea-b594-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-base_process_process__util__unittest.cc')
-rw-r--r--www/chromium/files/patch-base_process_process__util__unittest.cc16
1 files changed, 16 insertions, 0 deletions
diff --git a/www/chromium/files/patch-base_process_process__util__unittest.cc b/www/chromium/files/patch-base_process_process__util__unittest.cc
new file mode 100644
index 000000000000..e6378dd51b22
--- /dev/null
+++ b/www/chromium/files/patch-base_process_process__util__unittest.cc
@@ -0,0 +1,16 @@
+--- base/process/process_util_unittest.cc.orig 2020-03-23 15:26:12 UTC
++++ base/process/process_util_unittest.cc
+@@ -1307,11 +1307,11 @@ std::string TestLaunchProcess(const CommandLine& cmdli
+ options.fds_to_remap.emplace_back(fds[1], STDOUT_FILENO);
+ #endif // defined(OS_WIN)
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ options.clone_flags = clone_flags;
+ #else
+ CHECK_EQ(0, clone_flags);
+-#endif // defined(OS_LINUX)
++#endif // defined(OS_LINUX) || defined(OS_BSD)
+
+ EXPECT_TRUE(LaunchProcess(cmdline, options).IsValid());
+ write_pipe.Close();