]> git.pld-linux.org Git - packages/SDL_mixer.git/blame - SDL_mixer-timidity_cfg.patch
- updated for 1.2.7; don't read config from cwd
[packages/SDL_mixer.git] / SDL_mixer-timidity_cfg.patch
CommitLineData
866ba83c
JB
1--- SDL_mixer-1.2.7/timidity/config.h.orig 2006-05-01 09:25:52.000000000 +0200
2+++ SDL_mixer-1.2.7/timidity/config.h 2006-05-20 01:17:40.326795750 +0200
3@@ -176,7 +176,7 @@
4 #if defined(__WIN32__) || defined(__OS2__)
8c74319c 5 #define DEFAULT_PATH "\\TIMIDITY"
6 #else
7-#define DEFAULT_PATH "/usr/local/lib/timidity"
8+#define DEFAULT_PATH "/usr/share/timidity"
9 #endif
10
11 /* These affect general volume */
866ba83c
JB
12--- SDL_mixer-1.2.7/timidity/timidity.c.orig 2006-05-14 21:54:25.000000000 +0200
13+++ SDL_mixer-1.2.7/timidity/timidity.c 2006-05-20 01:21:52.074529000 +0200
14@@ -294,13 +294,11 @@
15
16 int Timidity_Init(int rate, int format, int channels, int samples)
17 {
18- if (read_config_file(CONFIG_FILE)<0) {
19 if (read_config_file(CONFIG_FILE_ETC)<0) {
20 if (read_config_file(CONFIG_FILE_ETC_TIMIDITY)<0) {
21 return(-1);
22 }
23 }
24- }
25
26 if (channels < 1 || channels == 3 || channels == 5 || channels > 6) return(-1);
27
This page took 0.033434 seconds and 4 git commands to generate.