ports/www/chromium/files/patch-chrome_updater_lock.cc
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
568 B
C++

--- chrome/updater/lock.cc.orig 2024-07-30 11:12:21 UTC
+++ chrome/updater/lock.cc
@@ -26,7 +26,7 @@ namespace updater {
std::unique_ptr<ScopedLock> CreateScopedLock(const std::string& name,
UpdaterScope scope,
base::TimeDelta timeout) {
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return named_system_lock::ScopedLock::Create(
base::StrCat({"/" PRODUCT_FULLNAME_STRING, name,
UpdaterScopeToString(scope), ".lock"}),