slackbuilds_ponce/libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch

34 lines
1.5 KiB
Diff
Raw Normal View History

--- libmodplug-0.8.4/README~ 2006-11-02 05:26:30.000000000 +0200
+++ libmodplug-0.8.4/README 2007-04-04 20:39:53.000000000 +0300
@@ -57,7 +57,7 @@
MMPAT_PATH_TO_CFG set to the directory where the file "timidity.cfg" and
the subdirectory "instruments" can be found,
- default: "/usr/local/share/timidity".
+ default: "/usr/share/timidity".
MMMID_SPEED for experimenting with the mod speed (1 thru 9)
MMMID_VERBOSE for feedback on the conversion process
MMMID_DEBUG for sake of completeness, only useful for maintainers
@@ -68,7 +68,7 @@
MMPAT_PATH_TO_CFG set to the directory where the file "timidity.cfg" and
the subdirectory "instruments" can be found,
- default: "/usr/local/share/timidity".
+ default: "/usr/share/timidity".
MMABC_NO_RANDOM_PICK when not set and the abc file contains multiple songs
(X:n) the first song to be played will be picked at random another click
--- libmodplug-0.8.4/src/load_pat.cpp~ 2006-09-12 02:57:25.000000000 +0300
+++ libmodplug-0.8.4/src/load_pat.cpp 2007-04-04 20:40:13.000000000 +0300
@@ -53,8 +53,8 @@
#define PATHFORPAT "C:\\TIMIDITY\\INSTRUMENTS"
#else
#define DIRDELIM '/'
-#define TIMIDITYCFG "/usr/local/share/timidity/timidity.cfg"
-#define PATHFORPAT "/usr/local/share/timidity/instruments"
+#define TIMIDITYCFG "/etc/timidity.cfg"
+#define PATHFORPAT "/usr/share/timidity/instruments"
#endif
#define PAT_ENV_PATH2CFG "MMPAT_PATH_TO_CFG"