1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-28 05:29:48 +00:00
freebsd-ports/www/chromium/files/patch-chrome__common__chrome_paths.cc
Rene Ladan 217593e8de Update to 27.0.1453.81
Note that this is still a beta version, and that the sysctl
kern.ipc.shm_allow_removed must be set to 1 for correct operation.

Port changes:
- add dependency on accessibility/speech-dispatcher for libspeechd
- use internal libvpx
- update disk space requirements
- add pkg-message for the above sysctl

Submitted by:	George Liaskos
Security:	http://vuxml.org/freebsd/bdd48858-9656-11e2-a9a8-00262d5ed8ee.html
2013-05-14 21:10:15 +00:00

17 lines
735 B
C++

--- chrome/common/chrome_paths.cc.orig 2013-02-28 10:15:52.000000000 +0200
+++ chrome/common/chrome_paths.cc 2013-03-06 21:25:36.000000000 +0200
@@ -441,10 +441,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 = base::FilePath(FILE_PATH_LITERAL("/etc/opt/chrome/policies"));
+#elif defined(OS_BSD)
+ cur = base::FilePath(FILE_PATH_LITERAL("/usr/local/etc/chrome/policies"));
#else
cur = base::FilePath(FILE_PATH_LITERAL("/etc/chromium/policies"));
#endif