openbsd-ports/audio/vorbis-tools/patches/patch-ogg123_cfgfile_options_c
2003-09-30 00:21:42 +00:00

13 lines
570 B
Plaintext

$OpenBSD: patch-ogg123_cfgfile_options_c,v 1.1 2003/09/30 00:21:42 naddy Exp $
--- ogg123/cfgfile_options.c.orig 2003-09-30 02:15:22.000000000 +0200
+++ ogg123/cfgfile_options.c 2003-09-30 02:15:39.000000000 +0200
@@ -441,7 +441,7 @@ void parse_std_configs (file_option_t op
char filename[FILENAME_MAX];
char *homedir = getenv("HOME");
- parse_config_file(opts, "/etc/ogg123rc");
+ parse_config_file(opts, SYSCONFDIR "/ogg123rc");
if (homedir && strlen(homedir) < FILENAME_MAX - 10) {
/* Try ~/.ogg123 */
strncpy(filename, homedir, FILENAME_MAX);