Package list libsdl2-mixer / 9dfcaba
Applied upstream: http://hg.libsdl.org/SDL_mixer/rev/c932750a78ce Manuel A. Fernandez Montecelo 8 years ago
2 changed file(s) with 0 addition(s) and 29 deletion(s). Raw diff Collapse all Expand all
+0
-28
debian/patches/05_fallback_to_freepats.patch less more
0 Description: If timidity.cfg is not present, please try to load freepats.cfg
1 Introduced in 1.2.8-6 (Fri, 22 May 2009 10:33:13 -0400).
2 Author: Fabian Greffrath <greffrath@leat.rub.de>
3 Last-Update: 2012-01-20
4 Bug-Debian: http://bugs.debian.org/453308
5 --- a/timidity/config.h
6 +++ b/timidity/config.h
7 @@ -162,6 +162,7 @@
8 then specify the library directory in the configuration file. */
9 #define CONFIG_FILE "timidity.cfg"
10 #define CONFIG_FILE_ETC "/etc/timidity.cfg"
11 +#define CONFIG_FILE_ETC_TIMIDITY_FREEPATS "/etc/timidity/freepats.cfg"
12
13 #if defined(__WIN32__) || defined(__OS2__)
14 #define DEFAULT_PATH "C:\\TIMIDITY"
15 --- a/timidity/timidity.c
16 +++ b/timidity/timidity.c
17 @@ -286,7 +286,9 @@
18 if (!env || read_config_file(env)<0) {
19 if (read_config_file(CONFIG_FILE)<0) {
20 if (read_config_file(CONFIG_FILE_ETC)<0) {
21 - return(-1);
22 + if (read_config_file(CONFIG_FILE_ETC_TIMIDITY_FREEPATS)<0) {
23 + return(-1);
24 + }
25 }
26 }
27 }
33 # 01_no_lvorbis_logg.patch
44 # 02_hurd.patch
55 # 04_timidity_cfg_opts.patch
6 # 05_fallback_to_freepats.patch
76 # bug-688369-double_free_crash.patch