1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-19 04:18:04 +00:00
termux-packages/packages/libxdg-basedir/src-basedir.c.patch
2022-10-22 10:22:17 +09:00

16 lines
844 B
Diff

--- a/src/basedir.c
+++ b/src/basedir.c
@@ -91,9 +91,9 @@
static const char
DefaultRelativeDataHome[] = DIR_SEPARATOR_STR ".local" DIR_SEPARATOR_STR "share",
DefaultRelativeConfigHome[] = DIR_SEPARATOR_STR ".config",
- DefaultDataDirectories1[] = DIR_SEPARATOR_STR "usr" DIR_SEPARATOR_STR "local" DIR_SEPARATOR_STR "share",
- DefaultDataDirectories2[] = DIR_SEPARATOR_STR "usr" DIR_SEPARATOR_STR "share",
- DefaultConfigDirectories[] = DIR_SEPARATOR_STR "etc" DIR_SEPARATOR_STR "xdg",
+ DefaultDataDirectories1[] = "@TERMUX_PREFIX@" DIR_SEPARATOR_STR "local" DIR_SEPARATOR_STR "share",
+ DefaultDataDirectories2[] = "@TERMUX_PREFIX@" DIR_SEPARATOR_STR "share",
+ DefaultConfigDirectories[] = "@TERMUX_PREFIX@" DIR_SEPARATOR_STR "etc" DIR_SEPARATOR_STR "xdg",
DefaultRelativeCacheHome[] = DIR_SEPARATOR_STR ".cache";
static const char