SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
www/iridium/patches/patch-weblayer_common_weblayer_paths_cc
Normal file
21
www/iridium/patches/patch-weblayer_common_weblayer_paths_cc
Normal file
|
@ -0,0 +1,21 @@
|
|||
Index: weblayer/common/weblayer_paths.cc
|
||||
--- weblayer/common/weblayer_paths.cc.orig
|
||||
+++ weblayer/common/weblayer_paths.cc
|
||||
@@ -18,7 +18,7 @@
|
||||
|
||||
#if BUILDFLAG(IS_WIN)
|
||||
#include "base/base_paths_win.h"
|
||||
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
||||
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
||||
#include "base/nix/xdg_util.h"
|
||||
#endif
|
||||
|
||||
@@ -36,7 +36,7 @@ bool GetDefaultUserDataDirectory(base::FilePath* resul
|
||||
return false;
|
||||
*result = result->AppendASCII("weblayer");
|
||||
return true;
|
||||
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
|
||||
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || BUILDFLAG(IS_BSD)
|
||||
std::unique_ptr<base::Environment> env(base::Environment::Create());
|
||||
base::FilePath config_dir(base::nix::GetXDGDirectory(
|
||||
env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir));
|
Loading…
Add table
Add a link
Reference in a new issue