termux-packages/x11-packages/xarchiver/xarchiver-0.5.4.13_src_xdgm...

13 lines
517 B
Diff

diff -uNr xarchiver-0.5.4.13/src/xdgmime/xdgmime.c xarchiver-0.5.4.13.mod/src/xdgmime/xdgmime.c
--- xarchiver-0.5.4.13/src/xdgmime/xdgmime.c 2018-03-13 12:22:11.000000000 +0200
+++ xarchiver-0.5.4.13.mod/src/xdgmime/xdgmime.c 2018-06-23 22:34:22.195187606 +0300
@@ -259,7 +259,7 @@
xdg_data_dirs = getenv ("XDG_DATA_DIRS");
if (xdg_data_dirs == NULL)
- xdg_data_dirs = "/usr/local/share/:/usr/share/";
+ xdg_data_dirs = "@TERMUX_PREFIX@/share/:@TERMUX_PREFIX@/local/share/";
ptr = xdg_data_dirs;