aboutsummaryrefslogtreecommitdiff
path: root/devel/electron37/files/patch-chrome_common_channel__info__posix.cc
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron37/files/patch-chrome_common_channel__info__posix.cc')
-rw-r--r--devel/electron37/files/patch-chrome_common_channel__info__posix.cc20
1 files changed, 20 insertions, 0 deletions
diff --git a/devel/electron37/files/patch-chrome_common_channel__info__posix.cc b/devel/electron37/files/patch-chrome_common_channel__info__posix.cc
new file mode 100644
index 000000000000..3e1380b96df7
--- /dev/null
+++ b/devel/electron37/files/patch-chrome_common_channel__info__posix.cc
@@ -0,0 +1,20 @@
+--- chrome/common/channel_info_posix.cc.orig 2025-06-30 07:04:30 UTC
++++ chrome/common/channel_info_posix.cc
+@@ -95,7 +95,7 @@ std::string GetChannelSuffixForDataDir() {
+ }
+ }
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
+ std::string GetChannelSuffixForExtraFlagsEnvVarName() {
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ const auto channel_state = GetChannelImpl();
+@@ -121,7 +121,7 @@ std::string GetChannelSuffixForExtraFlagsEnvVarName()
+ }
+ #endif // BUILDFLAG(IS_LINUX)
+
+-#if BUILDFLAG(IS_LINUX)
++#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_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