diff options
author | Rene Ladan <rene@FreeBSD.org> | 2022-03-02 09:32:47 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2022-03-02 09:32:47 +0000 |
commit | bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b (patch) | |
tree | 1d6f8dd03169ed2d788d910cce625af1608e74d0 /www/chromium/files/patch-base_process_process__posix.cc | |
parent | e18a8c4a1f1a85473f7d25dadf958405f131c81b (diff) | |
download | ports-bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b.tar.gz ports-bfedd5f1f016c174f3fe18cd38c8517ece7b1e9b.zip |
www/chromium: update to 99.0.4844.51
On the port side, this update brings:
- libvulkan enabled by default
- more unit tests enabled
- no longer dependent on Python 2.7
Security: https://vuxml.freebsd.org/freebsd/e0914087-9a09-11ec-9e61-3065ec8fd3ec.html
Diffstat (limited to 'www/chromium/files/patch-base_process_process__posix.cc')
-rw-r--r-- | www/chromium/files/patch-base_process_process__posix.cc | 27 |
1 files changed, 25 insertions, 2 deletions
diff --git a/www/chromium/files/patch-base_process_process__posix.cc b/www/chromium/files/patch-base_process_process__posix.cc index b2245b1ea796..8a7b5721a4a7 100644 --- a/www/chromium/files/patch-base_process_process__posix.cc +++ b/www/chromium/files/patch-base_process_process__posix.cc @@ -1,6 +1,11 @@ ---- base/process/process_posix.cc.orig 2022-02-07 13:39:41 UTC +--- base/process/process_posix.cc.orig 2022-02-28 16:54:41 UTC +++ base/process/process_posix.cc -@@ -27,6 +27,11 @@ +@@ -23,10 +23,15 @@ + #include "build/build_config.h" + #include "third_party/abseil-cpp/absl/types/optional.h" + +-#if BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) #include <sys/event.h> #endif @@ -12,6 +17,24 @@ #if BUILDFLAG(CLANG_PROFILING) #include "base/test/clang_profiling.h" #endif +@@ -95,7 +100,7 @@ bool WaitpidWithTimeout(base::ProcessHandle handle, + return ret_pid > 0; + } + +-#if BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + // Using kqueue on Mac so that we can wait on non-child processes. + // We can't use kqueues on child processes because we need to reap + // our own children using wait. +@@ -200,7 +205,7 @@ bool WaitForExitWithTimeoutImpl(base::ProcessHandle ha + const bool exited = (parent_pid < 0); + + if (!exited && parent_pid != our_pid) { +-#if BUILDFLAG(IS_MAC) ++#if BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD) + // On Mac we can wait on non child processes. + return WaitForSingleNonChildProcess(handle, timeout); + #else @@ -358,7 +363,55 @@ void Process::Exited(int exit_code) const {} int Process::GetPriority() const { |