pkgsrc/audio/juke/patches/patch-aa
salo 03cbef084d Import of juke-0.7: Simple ncurses based jukebox
Juke is a simple ncurses based jukebox program for Unix computers.
It uses command line based players to play different kinds of music
formats.

Package provided by Johan Ahlander in private mail.
2003-03-06 22:30:57 +00:00

18 lines
649 B
Text

$NetBSD: patch-aa,v 1.1.1.1 2003/03/06 22:30:57 salo Exp $
--- src/conf.c.orig 2000-03-06 21:43:13.000000000 +0100
+++ src/conf.c 2003-02-26 17:36:08.000000000 +0100
@@ -207,11 +207,11 @@
return;
}
}
- cfg->file_len = load_file ("/etc/juke.conf", (void **)&cfg->file);
+ cfg->file_len = load_file ("@PKG_SYSCONFDIR@/juke.conf", (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 @PKG_SYSCONFDIR@/juke.conf\n");
exit (ERROR);
}
build_arg_lists (cfg);