ports/www/chromium/files/patch-chrome__common__chrome_paths.cc
Rene Ladan 3b94bb8480 Update to 19.0.1084.52
Note that this version will not yet build on i386 boxes without (S)SSE3.
Submitted by:	George Liaskos
Security:	http://www.vuxml.org/freebsd/1449af37-9eba-11e1-b9c1-00262d5ed8ee.html
2012-05-28 22:29:08 +00:00

16 lines
717 B
C++

--- chrome/common/chrome_paths.cc.orig 2012-05-23 04:50:48.000000000 +0300
+++ chrome/common/chrome_paths.cc 2012-05-26 00:47:40.880289194 +0300
@@ -334,10 +334,12 @@
if (!file_util::PathExists(cur)) // We don't want to create this
return false;
break;
-#if defined(OS_POSIX) && !defined(OS_MACOSX) && !defined(OS_OPENBSD)
+#if defined(OS_POSIX) && !defined(OS_MACOSX)
case chrome::DIR_POLICY_FILES: {
#if defined(GOOGLE_CHROME_BUILD)
cur = FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));
+#elif defined(OS_BSD)
+ cur = FilePath(FILE_PATH_LITERAL("/usr/local/etc/chrome/policies"));
#else
cur = FilePath(FILE_PATH_LITERAL("/etc/chromium/policies"));
#endif