opnsense-ports/audio/juke/files/patch-src_conf.c
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

16 lines
547 B
C

--- ../juke.orig/src/conf.c Thu Apr 15 21:44:53 1999
+++ ./src/conf.c Sun May 2 12:18:07 1999
@@ -207,11 +207,11 @@
return;
}
}
- cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
+ cfg->file_len = load_file (CFG_RCFILE, (void **)&cfg->file);
if (cfg->file_len != ERROR) {
evaluate (cfg);
if (! cfg->formats) {
- fprintf (stderr, "error: No formats in /etc/juke.conf\n");
+ fprintf (stderr, "error: No formats in " CFG_RCFILE "\n");
exit (ERROR);
}
build_arg_lists (cfg);