mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 01:56:37 -04:00
20 lines
750 B
C++
20 lines
750 B
C++
--- chrome/common/channel_info_posix.cc.orig 2025-04-16 18:18:42 UTC
|
|
+++ chrome/common/channel_info_posix.cc
|
|
@@ -94,7 +94,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();
|
|
@@ -120,7 +120,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
|