aboutsummaryrefslogtreecommitdiff
path: root/www/chromium/files
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2020-01-21 19:29:41 +0000
committerRene Ladan <rene@FreeBSD.org>2020-01-21 19:29:41 +0000
commita65946d7a64d1684626405ae7a86cf503713cc07 (patch)
treeff55de009f8b49ed9776ac7fba33f3b7b6ea66c6 /www/chromium/files
parent2198e103d3c22e7e317a56c98e4c6da3d8cc9ee8 (diff)
downloadports-a65946d7a64d1684626405ae7a86cf503713cc07.tar.gz
ports-a65946d7a64d1684626405ae7a86cf503713cc07.zip
Notes
Diffstat (limited to 'www/chromium/files')
-rw-r--r--www/chromium/files/patch-chrome_common_chrome__paths.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_common_chrome__paths.cc b/www/chromium/files/patch-chrome_common_chrome__paths.cc
index 171f2dd8afe1..65e998e965a5 100644
--- a/www/chromium/files/patch-chrome_common_chrome__paths.cc
+++ b/www/chromium/files/patch-chrome_common_chrome__paths.cc
@@ -35,6 +35,16 @@
if (!GetUserDownloadsDirectorySafe(&cur))
return false;
break;
+@@ -482,6 +482,9 @@ bool PathProvider(int key, base::FilePath* result) {
+ case chrome::DIR_POLICY_FILES: {
+ #if BUILDFLAG(GOOGLE_CHROME_BRANDING)
+ 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
@@ -502,7 +502,7 @@ bool PathProvider(int key, base::FilePath* result) {
}
#endif