termux-packages/packages/pounce/xdg.c.patch

20 lines
467 B
Diff
Raw Normal View History

2022-04-02 03:11:35 +02:00
--- a/xdg.c
+++ b/xdg.c
@@ -49,14 +49,14 @@
.envHome = "XDG_CONFIG_HOME",
.envDirs = "XDG_CONFIG_DIRS",
.defHome = ".config",
- .defDirs = "/etc/xdg",
+ .defDirs = "@TERMUX_PREFIX@/etc/xdg",
};
static const struct Base Data = {
.envHome = "XDG_DATA_HOME",
.envDirs = "XDG_DATA_DIRS",
.defHome = ".local/share",
- .defDirs = "/usr/local/share:/usr/share",
+ .defDirs = "@TERMUX_PREFIX@/local/share:@TERMUX_PREFIX@/share",
};
static char *basePath(