openbsd-ports/www/iridium/patches/patch-chrome_common_chrome_paths_h
2018-05-04 07:14:57 +00:00

32 lines
1.6 KiB
Plaintext

$OpenBSD: patch-chrome_common_chrome_paths_h,v 1.14 2018/05/04 07:14:57 robert Exp $
Index: chrome/common/chrome_paths.h
--- chrome/common/chrome_paths.h.orig
+++ chrome/common/chrome_paths.h
@@ -52,7 +52,7 @@ enum {
// contains subdirectories.
#endif
#if defined(OS_CHROMEOS) || (defined(OS_LINUX) && defined(CHROMIUM_BUILD)) || \
- defined(OS_MACOSX)
+ defined(OS_MACOSX) || defined(OS_BSD)
DIR_USER_EXTERNAL_EXTENSIONS, // Directory for per-user external extensions
// on Chrome Mac and Chromium Linux.
// On Chrome OS, this path is used for OEM
@@ -60,7 +60,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
@@ -111,7 +111,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_MACOSX) || defined(OS_BSD)
DIR_NATIVE_MESSAGING, // System directory where native messaging host
// manifest files are stored.
DIR_USER_NATIVE_MESSAGING, // Directory with Native Messaging Hosts