diff options
Diffstat (limited to 'devel/electron37/files/patch-extensions_shell_app_shell__main__delegate.cc')
-rw-r--r-- | devel/electron37/files/patch-extensions_shell_app_shell__main__delegate.cc | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-extensions_shell_app_shell__main__delegate.cc b/devel/electron37/files/patch-extensions_shell_app_shell__main__delegate.cc new file mode 100644 index 000000000000..5a39c681f226 --- /dev/null +++ b/devel/electron37/files/patch-extensions_shell_app_shell__main__delegate.cc @@ -0,0 +1,20 @@ +--- extensions/shell/app/shell_main_delegate.cc.orig 2025-06-30 07:04:30 UTC ++++ extensions/shell/app/shell_main_delegate.cc +@@ -41,7 +41,7 @@ + #if BUILDFLAG(IS_WIN) + #include "base/base_paths_win.h" + #include "base/process/process_info.h" +-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + #include "base/nix/xdg_util.h" + #elif BUILDFLAG(IS_MAC) + #include "base/base_paths_mac.h" +@@ -61,7 +61,7 @@ base::FilePath GetDataPath() { + } + + base::FilePath data_dir; +-#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) ++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD) + std::unique_ptr<base::Environment> env(base::Environment::Create()); + data_dir = base::nix::GetXDGDirectory( + env.get(), base::nix::kXdgConfigHomeEnvVar, base::nix::kDotConfigDir); |