1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-05 22:43:24 +00:00
freebsd-ports/audio/xmp/files/patch-aa
Chris Piazza 9fa8d14cc8 Import of xmp.
Xmp is the "eXtended Module Player".  It supports many of the
Amiga and PC module formats -- currently 47 of them and runs with
little system load.

PR:		13805
Submitted by:	Anders Nordby <anders@fix.no>
1999-09-18 20:46:21 +00:00

21 lines
698 B
Plaintext

--- 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 @@
if ((rc = fopen (myrc2, "r")) == NULL) {
if ((rc = fopen (myrc, "r")) == NULL) {
- 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 @@
myrc = malloc ((home ? strlen (home) : 0) + 20);
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);
}