1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/audio/juke/files/patch-src_conf.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

17 lines
549 B
C

--- src/conf.c.orig 2000-03-06 20:43:13 UTC
+++ src/conf.c
@@ -207,11 +207,11 @@ void config_load (struct CONFIG *cfg)
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);