ports/devel/electron13/files/patch-electron_shell_common_electron__paths.h

20 lines
572 B
C

--- electron/shell/common/electron_paths.h.orig 2021-01-22 23:55:24 UTC
+++ electron/shell/common/electron_paths.h
@@ -30,7 +30,7 @@ enum {
DIR_RECENT, // Directory where recent files live
#endif
-#if defined(OS_LINUX)
+#if defined(OS_LINUX) || defined(OS_BSD)
DIR_APP_DATA, // Application Data directory under the user profile.
#endif
@@ -38,7 +38,7 @@ enum {
PATH_END, // End of new paths. Those that follow redirect to base::DIR_*
-#if !defined(OS_LINUX)
+#if !defined(OS_LINUX) && !defined(OS_BSD)
DIR_APP_DATA = base::DIR_APP_DATA,
#endif