diff options
author | Rene Ladan <rene@FreeBSD.org> | 2016-06-07 20:28:41 +0000 |
---|---|---|
committer | Rene Ladan <rene@FreeBSD.org> | 2016-06-07 20:28:41 +0000 |
commit | 45d3cc73dc908af3262c6a714cb755edd03f071a (patch) | |
tree | 564e40b2ccfe669385077be2c94de93ac0c15fe3 /www/chromium/files/patch-chrome_common_chrome__paths.h | |
parent | 071c1e89c17887adb174a6933a8f241ac326e143 (diff) | |
download | ports-45d3cc73dc908af3262c6a714cb755edd03f071a.tar.gz ports-45d3cc73dc908af3262c6a714cb755edd03f071a.zip |
Notes
Diffstat (limited to 'www/chromium/files/patch-chrome_common_chrome__paths.h')
-rw-r--r-- | www/chromium/files/patch-chrome_common_chrome__paths.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/www/chromium/files/patch-chrome_common_chrome__paths.h b/www/chromium/files/patch-chrome_common_chrome__paths.h new file mode 100644 index 000000000000..f765f38bcf26 --- /dev/null +++ b/www/chromium/files/patch-chrome_common_chrome__paths.h @@ -0,0 +1,29 @@ +--- chrome/common/chrome_paths.h.orig 2016-05-11 19:02:17 UTC ++++ chrome/common/chrome_paths.h +@@ -50,7 +50,7 @@ enum { + DIR_USER_APPLICATIONS, // ~/Applications + DIR_USER_LIBRARY, // ~/Library + #endif +-#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(CHROMIUM_BUILD)) || \ ++#if defined(OS_CHROMEOS) || ((defined(OS_LINUX) || defined(OS_BSD)) && defined(CHROMIUM_BUILD)) || \ + defined(OS_MACOSX) + DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions + // on Chrome Mac and Chromium Linux. +@@ -59,7 +59,7 @@ enum { + // create it. + #endif + +-#if defined(OS_LINUX) ++#if defined(OS_LINUX) || defined(OS_BSD) + DIR_STANDALONE_EXTERNAL_EXTENSIONS, // Directory for 'per-extension' + // definition manifest files that + // describe extensions which are to be +@@ -117,7 +117,7 @@ enum { + DIR_SUPERVISED_USER_INSTALLED_WHITELISTS, // Directory where sanitized + // supervised user whitelists are + // installed. +-#if defined(OS_LINUX) || defined(OS_MACOSX) ++#if defined(OS_LINUX) || defined(OS_BSD) || defined(OS_MACOSX) + DIR_NATIVE_MESSAGING, // System directory where native messaging host + // manifest files are stored. + DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts |