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

20 lines
467 B
Diff

--- 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(