diff options
Diffstat (limited to '')
-rw-r--r-- | audio/xmp/files/patch-aa | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/audio/xmp/files/patch-aa b/audio/xmp/files/patch-aa index dec5f80919be..ad72ee9d3c5d 100644 --- a/audio/xmp/files/patch-aa +++ b/audio/xmp/files/patch-aa @@ -1,20 +1,20 @@ ---- src/player/readrc.c.orig Sat Jul 3 17:13:04 1999 -+++ src/player/readrc.c Sat Sep 18 13:11:48 1999 -@@ -49,7 +49,7 @@ - +--- src/player/readrc.c.orig Wed Mar 1 09:42:44 2000 ++++ src/player/readrc.c Fri Aug 4 23:24:03 2000 +@@ -56,7 +56,7 @@ if ((rc = fopen (myrc2, "r")) == NULL) { if ((rc = fopen (myrc, "r")) == NULL) { + #ifndef __EMX__ - if ((rc = fopen ("/etc/xmp.conf", "r")) == NULL) { -+ if ((rc = fopen ("/usr/local/etc/xmp.conf", "r")) == NULL) { - free (myrc); - return -1; - } -@@ -191,7 +191,7 @@ - ++ if ((rc = fopen (ETC_DIR "/xmp.conf", "r")) == NULL) { + #else + if ((rc = fopen ("xmp.conf", "r")) == NULL) { + #endif +@@ -202,7 +202,7 @@ myrc = malloc ((home ? strlen (home) : 0) + 20); + #ifndef __EMX__ sprintf (myrc, "%s/.xmp/modules.conf", home); - parse_modconf (ctl, "/etc/xmp-modules.conf", crc, size); -+ parse_modconf (ctl, "/usr/local/etc/xmp-modules.conf", crc, size); - parse_modconf (ctl, myrc, crc, size); - free (myrc); - } ++ parse_modconf (ctl, ETC_DIR "/xmp-modules.conf", crc, size); + #else + sprintf (myrc, "%s\\.xmp\\modules.conf", home); + parse_modconf (ctl, "xmp-modules.conf", crc, size); |