ports/www/chromium/files/patch-remoting_base_host__settings.cc
Rene Ladan bfedd5f1f0 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
2022-03-02 10:32:47 +01:00

20 lines
862 B
C++

--- remoting/base/host_settings.cc.orig 2022-02-28 16:54:41 UTC
+++ remoting/base/host_settings.cc
@@ -7,7 +7,7 @@
#include "base/no_destructor.h"
#include "build/build_config.h"
-#if BUILDFLAG(IS_APPLE) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS))
+#if BUILDFLAG(IS_APPLE) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || BUILDFLAG(IS_BSD)
#include "remoting/base/file_host_settings.h"
#endif // BUILDFLAG(IS_LINUX)
@@ -44,7 +44,7 @@ HostSettings::~HostSettings() = default;
// static
HostSettings* HostSettings::GetInstance() {
-#if BUILDFLAG(IS_APPLE) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS))
+#if BUILDFLAG(IS_APPLE) || (BUILDFLAG(IS_LINUX) && !BUILDFLAG(IS_CHROMEOS)) || BUILDFLAG(IS_BSD)
static base::NoDestructor<FileHostSettings> instance(
FileHostSettings::GetSettingsFilePath());
#elif BUILDFLAG(IS_WIN)