diff options
Diffstat (limited to 'www/chromium-uc/patches/patch-remoting_base_host_settings_cc')
| -rw-r--r-- | www/chromium-uc/patches/patch-remoting_base_host_settings_cc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chromium-uc/patches/patch-remoting_base_host_settings_cc b/www/chromium-uc/patches/patch-remoting_base_host_settings_cc new file mode 100644 index 0000000..dcf0170 --- /dev/null +++ b/www/chromium-uc/patches/patch-remoting_base_host_settings_cc | |||
| @@ -0,0 +1,23 @@ | |||
| 1 | $OpenBSD: patch-remoting_base_host_settings_cc,v 1.1 2021/11/16 11:28:47 robert Exp $ | ||
| 2 | |||
| 3 | Index: remoting/base/host_settings.cc | ||
| 4 | --- remoting/base/host_settings.cc.orig | ||
| 5 | +++ remoting/base/host_settings.cc | ||
| 6 | @@ -7,7 +7,7 @@ | ||
| 7 | #include "base/no_destructor.h" | ||
| 8 | #include "build/build_config.h" | ||
| 9 | |||
| 10 | -#if defined(OS_APPLE) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) | ||
| 11 | +#if defined(OS_APPLE) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) | ||
| 12 | #include "remoting/base/file_host_settings.h" | ||
| 13 | #endif // defined(OS_LINUX) | ||
| 14 | |||
| 15 | @@ -44,7 +44,7 @@ HostSettings::~HostSettings() = default; | ||
| 16 | |||
| 17 | // static | ||
| 18 | HostSettings* HostSettings::GetInstance() { | ||
| 19 | -#if defined(OS_APPLE) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) | ||
| 20 | +#if defined(OS_APPLE) || (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD) | ||
| 21 | static base::NoDestructor<FileHostSettings> instance( | ||
| 22 | FileHostSettings::GetSettingsFilePath()); | ||
| 23 | #elif defined(OS_WIN) | ||
