ports/www/chromium/files/patch-components_named__system__lock_lock.h
Robert Nagy acb70e0682 www/chromium: update to 127.0.6533.88
This update also removes the --audio-backend command line switch
in favor of an actual setting in the browser that can be changed
at chrome://flags/#audio-backend

Security:	https://vuxml.freebsd.org/freebsd/15d398ea-4f73-11ef-8a0f-a8a1599412c6.html
2024-07-31 21:32:46 +02:00

11 lines
653 B
C++

--- components/named_system_lock/lock.h.orig 2024-07-30 11:12:21 UTC
+++ components/named_system_lock/lock.h
@@ -38,7 +38,7 @@ class ScopedLock {
// may acquire that lock. The lock name has different meanings per platform:
// Linux: A shared memory object name starting with `/`. E.g. `/MyApp.lock`.
// Mac: A bootstrap service name (see `man bootstrap_check_in`).
-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_MAC) || BUILDFLAG(IS_BSD)
static std::unique_ptr<ScopedLock> Create(const std::string& name,
base::TimeDelta timeout);
#elif BUILDFLAG(IS_WIN)