summaryrefslogtreecommitdiff
path: root/audio/juke/files/patch-src_conf.c
diff options
context:
space:
mode:
Diffstat (limited to 'audio/juke/files/patch-src_conf.c')
-rw-r--r--audio/juke/files/patch-src_conf.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/audio/juke/files/patch-src_conf.c b/audio/juke/files/patch-src_conf.c
new file mode 100644
index 000000000000..46bb6ec6ff3b
--- /dev/null
+++ b/audio/juke/files/patch-src_conf.c
@@ -0,0 +1,16 @@
+--- ../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);