openbsd-ports/www/chromium/patches/patch-chrome_browser_about_flags_cc

13 lines
488 B
Plaintext

$OpenBSD: patch-chrome_browser_about_flags_cc,v 1.4 2011/06/08 20:36:56 robert Exp $
--- chrome/browser/about_flags.cc.orig Mon Jun 6 11:12:10 2011
+++ chrome/browser/about_flags.cc Wed Jun 8 09:58:35 2011
@@ -533,7 +533,7 @@ int GetCurrentPlatform() {
return kOsWin;
#elif defined(OS_CHROMEOS) // Needs to be before the OS_LINUX check.
return kOsCrOS;
-#elif defined(OS_LINUX)
+#elif defined(OS_LINUX) || defined(OS_OPENBSD)
return kOsLinux;
#else
#error Unknown platform