summaryrefslogtreecommitdiff
path: root/libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch')
-rw-r--r--libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch33
1 files changed, 33 insertions, 0 deletions
diff --git a/libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch b/libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch
new file mode 100644
index 0000000000..9fbdbba97a
--- /dev/null
+++ b/libraries/libmodplug/libmodplug-0.8.4-timiditypaths.patch
@@ -0,0 +1,33 @@
+--- 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"