0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-12-04 18:45:52 +00:00
termux-packages/packages/libmodplug/src-load_pat.cpp.patch
2023-03-06 15:01:33 +00:00

14 lines
466 B
Diff

--- a/src/load_pat.cpp
+++ b/src/load_pat.cpp
@@ -52,8 +52,8 @@
#define PATHFORPAT "C:\\TIMIDITY\\INSTRUMENTS"
#else
#define DIRDELIM '/'
-#define TIMIDITYCFG "/etc/timidity.cfg" /*"/usr/share/timidity/timidity.cfg"*/
-#define PATHFORPAT "/usr/share/timidity/instruments"
+#define TIMIDITYCFG "@TERMUX_PREFIX@/share/timidity/timidity.cfg"
+#define PATHFORPAT "@TERMUX_PREFIX@/share/timidity/instruments"
#endif
#define PAT_ENV_PATH2CFG "MMPAT_PATH_TO_CFG"