[Commits] SDL_mixer: Added /usr/local/share/timidity to the default path. ...

libsdl.org revision control commits-owner at libsdl.org
Sun Jan 1 11:26:15 PST 2012


details:   http://hg.libsdl.org/SDL_mixer/rev/a74d68325094
changeset: 530:a74d68325094
user:      Sam Lantinga <slouken at libsdl.org>
date:      Sun Jan 01 01:00:51 2012 -0500
description:
Added /usr/local/share/timidity to the default path.  That's actually where local timidity files are supposed to be installed nowdays.

diffstat:

 timidity/common.c |  3 +++
 timidity/config.h |  3 ++-
 2 files changed, 5 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 9ca74f21d466 -r a74d68325094 timidity/common.c
--- a/timidity/common.c	Sun Jan 01 00:47:32 2012 -0500
+++ b/timidity/common.c	Sun Jan 01 01:00:51 2012 -0500
@@ -108,6 +108,9 @@
 #ifdef DEFAULT_PATH2
     add_to_pathlist(DEFAULT_PATH2);
 #endif
+#ifdef DEFAULT_PATH3
+    add_to_pathlist(DEFAULT_PATH3);
+#endif
   }
 
   /* First try the given name */
diff -r 9ca74f21d466 -r a74d68325094 timidity/config.h
--- a/timidity/config.h	Sun Jan 01 00:47:32 2012 -0500
+++ b/timidity/config.h	Sun Jan 01 01:00:51 2012 -0500
@@ -168,7 +168,8 @@
 #else
 #define DEFAULT_PATH	"/etc/timidity"
 #define DEFAULT_PATH1	"/usr/share/timidity"
-#define DEFAULT_PATH2	"/usr/local/lib/timidity"
+#define DEFAULT_PATH2	"/usr/local/share/timidity"
+#define DEFAULT_PATH3	"/usr/local/lib/timidity"
 #endif
 
 /* These affect general volume */


More information about the commits mailing list