aboutsummaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-chrome_common_chrome__paths.h
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-chrome_common_chrome__paths.h')
-rw-r--r--devel/electron13/files/patch-chrome_common_chrome__paths.h29
1 files changed, 29 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-chrome_common_chrome__paths.h b/devel/electron13/files/patch-chrome_common_chrome__paths.h
new file mode 100644
index 000000000000..3c024adca3f5
--- /dev/null
+++ b/devel/electron13/files/patch-chrome_common_chrome__paths.h
@@ -0,0 +1,29 @@
+--- chrome/common/chrome_paths.h.orig 2021-07-15 19:13:34 UTC
++++ chrome/common/chrome_paths.h
+@@ -56,7 +56,7 @@ enum {
+ #if BUILDFLAG(IS_CHROMEOS_ASH) || \
+ ((defined(OS_LINUX) || BUILDFLAG(IS_CHROMEOS_LACROS)) && \
+ BUILDFLAG(CHROMIUM_BRANDING)) || \
+- defined(OS_MAC)
++ defined(OS_MAC) || 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
+@@ -64,7 +64,7 @@ enum {
+ // create it.
+ #endif
+
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || 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_CHROMEOS_CUSTOM_WALLPAPERS, // Directory where custom wallpapers
+ // reside.
+ #endif
+-#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC)
++#if defined(OS_LINUX) || defined(OS_CHROMEOS) || defined(OS_MAC) || 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