openbsd-ports/www/chromium/patches/patch-chrome_browser_about_flags_cc
2011-09-19 08:55:26 +00:00

13 lines
488 B
Plaintext

$OpenBSD: patch-chrome_browser_about_flags_cc,v 1.6 2011/09/19 08:55:26 robert Exp $
--- chrome/browser/about_flags.cc.orig Wed Sep 14 10:01:56 2011
+++ chrome/browser/about_flags.cc Fri Sep 16 18:17:22 2011
@@ -607,7 +607,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