openbsd-ports/www/chromium/patches/patch-chrome_browser_about_flags_cc
2011-03-15 11:38:05 +00:00

13 lines
488 B
Plaintext

$OpenBSD: patch-chrome_browser_about_flags_cc,v 1.2 2011/03/15 11:38:05 robert Exp $
--- chrome/browser/about_flags.cc.orig Fri Mar 11 10:01:43 2011
+++ chrome/browser/about_flags.cc Mon Mar 14 10:55:37 2011
@@ -503,7 +503,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