aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_common_channel__info__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-chrome_common_channel__info__posix.cc')
-rw-r--r--devel/electron13/files/patch-chrome_common_channel__info__posix.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_common_channel__info__posix.cc b/devel/electron13/files/patch-chrome_common_channel__info__posix.cc
new file mode 100644
index 000000000000..2b14181dcf3c
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_common_channel__info__posix.cc
@@ -0,0 +1,20 @@
+--- chrome/common/channel_info_posix.cc.orig 2021-07-15 19:13:34 UTC
++++ chrome/common/channel_info_posix.cc
+@@ -90,7 +90,7 @@ std::string GetChannelSuffixForDataDir() {
+
+ // TODO(crbug.com/1052397): Revisit the macro expression once build flag switch
+ // of lacros-chrome is complete.
+-#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#if defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
+ std::string GetDesktopName(base::Environment* env) {
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ // Google Chrome packaged as a snap is a special case: the application name
+@@ -120,7 +120,7 @@ std::string GetDesktopName(base::Environment* env) {
+ return "chromium-browser.desktop";
+ #endif
+ }
+-#endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)
++#endif // defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS) || defined(OS_BSD)
+
+ version_info::Channel GetChannel() {
+ return GetChannelImpl().channel;