SOURCES: SDL_mixer-timidity_cfg.patch - updated for 1.2.7; don't r...

qboosh qboosh at pld-linux.org
Sat May 20 01:42:40 CEST 2006


Author: qboosh                       Date: Fri May 19 23:42:40 2006 GMT
Module: SOURCES                       Tag: HEAD
---- Log message:
- updated for 1.2.7; don't read config from cwd

---- Files affected:
SOURCES:
   SDL_mixer-timidity_cfg.patch (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: SOURCES/SDL_mixer-timidity_cfg.patch
diff -u SOURCES/SDL_mixer-timidity_cfg.patch:1.1 SOURCES/SDL_mixer-timidity_cfg.patch:1.2
--- SOURCES/SDL_mixer-timidity_cfg.patch:1.1	Tue Feb  6 09:34:55 2001
+++ SOURCES/SDL_mixer-timidity_cfg.patch	Sat May 20 01:42:35 2006
@@ -1,13 +1,7 @@
-diff -Nru SDL_mixer-1.1.0/timidity/config.h SDL_mixer-1.1.0.new/timidity/config.h
---- SDL_mixer-1.1.0/timidity/config.h	Tue Feb  6 09:29:33 2001
-+++ SDL_mixer-1.1.0.new/timidity/config.h	Tue Feb  6 09:32:54 2001
-@@ -202,11 +202,11 @@
- 
- /* You could specify a complete path, e.g. "/etc/timidity.cfg", and
-    then specify the library directory in the configuration file. */
--#define CONFIG_FILE	"timidity.cfg"
-+#define CONFIG_FILE	"/etc/timidity.cfg"
- #ifdef __WIN32__
+--- SDL_mixer-1.2.7/timidity/config.h.orig	2006-05-01 09:25:52.000000000 +0200
++++ SDL_mixer-1.2.7/timidity/config.h	2006-05-20 01:17:40.326795750 +0200
+@@ -176,7 +176,7 @@
+ #if defined(__WIN32__) || defined(__OS2__)
  #define DEFAULT_PATH	"\\TIMIDITY"
  #else
 -#define DEFAULT_PATH	"/usr/local/lib/timidity"
@@ -15,3 +9,19 @@
  #endif
  
  /* These affect general volume */
+--- SDL_mixer-1.2.7/timidity/timidity.c.orig	2006-05-14 21:54:25.000000000 +0200
++++ SDL_mixer-1.2.7/timidity/timidity.c	2006-05-20 01:21:52.074529000 +0200
+@@ -294,13 +294,11 @@
+ 
+ int Timidity_Init(int rate, int format, int channels, int samples)
+ {
+-  if (read_config_file(CONFIG_FILE)<0) {
+     if (read_config_file(CONFIG_FILE_ETC)<0) {
+       if (read_config_file(CONFIG_FILE_ETC_TIMIDITY)<0) {
+         return(-1);
+       }
+     }
+-  }
+ 
+   if (channels < 1 || channels == 3 || channels == 5 || channels > 6) return(-1);
+ 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/SDL_mixer-timidity_cfg.patch?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list