termux-packages/packages/tizonia/libtizplatform-src-tizrc.c.patch
2021-12-23 15:49:28 +02:00

15 lines
461 B
Diff

--- a/libtizplatform/src/tizrc.c
+++ b/libtizplatform/src/tizrc.c
@@ -605,9 +605,9 @@
/* Try /etc/xdg */
if (found)
{
- TIZ_LOG (TIZ_PRIORITY_TRACE, "Trying /etc/xdg");
+ TIZ_LOG (TIZ_PRIORITY_TRACE, "Trying @TERMUX_PREFIX@/etc/xdg");
snprintf (rcfile, FILE_PATH_MAX,
- "/etc/xdg/tizonia/tizonia.conf");
+ "@TERMUX_PREFIX@/etc/xdg/tizonia/tizonia.conf");
found = try_open_file (rcfile);
}