ports/www/chromium/files/patch-chrome_common_channel__info.h

20 lines
614 B
C++

--- chrome/common/channel_info.h.orig 2025-04-04 08:52:13 UTC
+++ chrome/common/channel_info.h
@@ -11,7 +11,7 @@
#include "build/branding_buildflags.h"
#include "build/build_config.h"
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
namespace base {
class Environment;
}
@@ -99,7 +99,7 @@ void ClearChannelIdForTesting();
std::string GetChannelSuffixForDataDir();
#endif
-#if BUILDFLAG(IS_LINUX)
+#if BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
std::string GetChannelSuffixForExtraFlagsEnvVarName();
// Returns the channel-specific filename of the desktop shortcut used to launch