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.5 2011/08/16 08:17:44 robert Exp $
--- chrome/browser/about_flags.cc.orig Wed Jul 27 10:01:52 2011
+++ chrome/browser/about_flags.cc Tue Aug 2 20:12:17 2011
@@ -581,7 +581,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