openbsd-ports/www/chromium/patches/patch-chrome_common_chrome_paths_cc
robert 1d1f0ea496 update to 15.0.874.102.
switch from using the hacked macosx transport dib to the linux one
which uses sysv shms.
make sure you also have a current kernel before using this version
2011-10-27 07:59:08 +00:00

13 lines
643 B
Plaintext

$OpenBSD: patch-chrome_common_chrome_paths_cc,v 1.6 2011/10/27 07:59:08 robert Exp $
--- chrome/common/chrome_paths.cc.orig Fri Oct 21 10:30:30 2011
+++ chrome/common/chrome_paths.cc Wed Oct 26 14:10:40 2011
@@ -298,7 +298,7 @@ bool PathProvider(int key, FilePath* result) {
if (!file_util::PathExists(cur)) // we don't want to create this
return false;
break;
-#if defined(OS_POSIX) && !defined(OS_MACOSX)
+#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
case chrome::DIR_POLICY_FILES: {
#if defined(GOOGLE_CHROME_BUILD)
cur = FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));