SecBSD's official ports repository

This commit is contained in:
purplerain 2023-08-16 22:26:55 +00:00
commit 2c0afcbbf3
Signed by: purplerain
GPG key ID: F42C07F07E2E35B7
64331 changed files with 5339189 additions and 0 deletions

View file

@ -0,0 +1,21 @@
Index: remoting/base/host_settings.cc
--- remoting/base/host_settings.cc.orig
+++ 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)