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

13 lines
669 B
Plaintext

$OpenBSD: patch-chrome_common_chrome_paths_cc,v 1.4 2011/06/08 20:36:56 robert Exp $
--- chrome/common/chrome_paths.cc.orig Mon Jun 6 11:12:12 2011
+++ chrome/common/chrome_paths.cc Wed Jun 8 09:58:36 2011
@@ -172,7 +172,7 @@ bool PathProvider(int key, FilePath* result) {
cur = cur.Append(FILE_PATH_LITERAL("inspector"));
break;
case chrome::DIR_APP_DICTIONARIES:
-#if defined(OS_LINUX) || defined(OS_MACOSX)
+#if defined(OS_POSIX)
// We can't write into the EXE dir on Linux, so keep dictionaries
// alongside the safe browsing database in the user data dir.
// And we don't want to write into the bundle on the Mac, so push