termux-packages/packages/tizonia/libtizplatform-src-tizrc.c.patch

15 lines
461 B
Diff
Raw Normal View History

2021-12-21 12:27:53 +01:00
--- 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);
}