summaryrefslogtreecommitdiff
path: root/www/chromium/files/patch-chrome_common_channel__info__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'www/chromium/files/patch-chrome_common_channel__info__posix.cc')
-rw-r--r--www/chromium/files/patch-chrome_common_channel__info__posix.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_common_channel__info__posix.cc b/www/chromium/files/patch-chrome_common_channel__info__posix.cc
new file mode 100644
index 000000000000..e9625be14b03
--- /dev/null
+++ b/www/chromium/files/patch-chrome_common_channel__info__posix.cc
@@ -0,0 +1,20 @@
+--- chrome/common/channel_info_posix.cc.orig 2019-12-17 19:21:14 UTC
++++ chrome/common/channel_info_posix.cc
+@@ -69,7 +69,7 @@ std::string GetChannelSuffixForDataDir() {
+ }
+ #endif // defined(GOOGLE_CHROME_BUILD)
+
+-#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#if (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+ std::string GetDesktopName(base::Environment* env) {
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ version_info::Channel product_channel(GetChannel());
+@@ -91,7 +91,7 @@ std::string GetDesktopName(base::Environment* env) {
+ return "chromium-browser.desktop";
+ #endif
+ }
+-#endif // defined(OS_LINUX) && !defined(OS_CHROMEOS)
++#endif // (defined(OS_LINUX) && !defined(OS_CHROMEOS)) || defined(OS_BSD)
+
+ version_info::Channel GetChannel() {
+ return GetChannelImpl(nullptr, nullptr);