summaryrefslogtreecommitdiff
path: root/www/iridium/files/patch-chrome_common_channel__info__posix.cc
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-07-23 16:31:18 +0000
committerRene Ladan <rene@FreeBSD.org>2020-07-23 16:31:18 +0000
commit651302b592fe54c5197641402df87ff216c27903 (patch)
tree784a10fc6050d3be8786fd6f4f954d7802bd9204 /www/iridium/files/patch-chrome_common_channel__info__posix.cc
parentAdd compiler:c++14-lang to USES to atttempt to fix on GCC-based systems: (diff)
www/iridium: update to 2020.04.81
PR: 245959 Submitted by: Matthias Wolf MFH: 2020Q3 Security: any Chromium vulnerability between 73 and 81
Diffstat (limited to 'www/iridium/files/patch-chrome_common_channel__info__posix.cc')
-rw-r--r--www/iridium/files/patch-chrome_common_channel__info__posix.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-chrome_common_channel__info__posix.cc b/www/iridium/files/patch-chrome_common_channel__info__posix.cc
new file mode 100644
index 000000000000..11726bed5663
--- /dev/null
+++ b/www/iridium/files/patch-chrome_common_channel__info__posix.cc
@@ -0,0 +1,20 @@
+--- chrome/common/channel_info_posix.cc.orig 2020-02-03 21:52:41 UTC
++++ chrome/common/channel_info_posix.cc
+@@ -67,7 +67,7 @@ std::string GetChannelSuffixForDataDir() {
+ }
+ }
+
+-#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());
+@@ -89,7 +89,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);