ports/www/ungoogled-chromium/patches/patch-extensions_common_command_cc

13 lines
515 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: extensions/common/command.cc
--- extensions/common/command.cc.orig
+++ extensions/common/command.cc
2024-05-20 13:42:05 +00:00
@@ -283,7 +283,7 @@ std::string Command::CommandPlatform() {
2023-08-16 22:26:55 +00:00
return values::kKeybindingPlatformMac;
#elif BUILDFLAG(IS_CHROMEOS)
return values::kKeybindingPlatformChromeOs;
-#elif BUILDFLAG(IS_LINUX)
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_BSD)
return values::kKeybindingPlatformLinux;
#elif BUILDFLAG(IS_FUCHSIA)
// TODO(crbug.com/1312215): Change this once we decide what string should be