aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-remoting_host_host__settings.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-remoting_host_host__settings.cc')
-rw-r--r--www/chromium/files/patch-remoting_host_host__settings.cc23
1 files changed, 23 insertions, 0 deletions
diff --git a/www/chromium/files/patch-remoting_host_host__settings.cc b/www/chromium/files/patch-remoting_host_host__settings.cc
new file mode 100644
index 000000000000..4e69efa74688
--- /dev/null
+++ b/www/chromium/files/patch-remoting_host_host__settings.cc
@@ -0,0 +1,23 @@
+--- remoting/host/host_settings.cc.orig 2021-07-28 08:16:52 UTC
++++ remoting/host/host_settings.cc
+@@ -13,9 +13,9 @@
+ #include "remoting/host/mac/constants_mac.h"
+ #endif // defined(OS_APPLE)
+
+-#if defined(OS_LINUX)
++#if defined(OS_LINUX) || defined(OS_BSD)
+ #include "remoting/host/linux/file_path_util.h"
+-#endif // defined(OS_LINUX)
++#endif // defined(OS_LINUX) || defined(OS_BSD)
+
+ namespace remoting {
+
+@@ -46,7 +46,7 @@ HostSettings* HostSettings::GetInstance() {
+ #if defined(OS_APPLE)
+ static const base::FilePath settings_file(kHostSettingsFilePath);
+ static base::NoDestructor<FileHostSettings> instance(settings_file);
+-#elif defined(OS_LINUX)
++#elif defined(OS_LINUX) || defined(OS_BSD)
+ static base::NoDestructor<FileHostSettings> instance(base::FilePath(
+ GetConfigDirectoryPath().Append(GetHostHash() + ".settings.json")));
+ #else