openbsd-ports/audio/scmpc/patches/patch-src-preferences_c
jasper 8f426bba03 - fix default configuration file path
problem noticed/fix tested by edd barrett
2008-01-01 21:22:27 +00:00

16 lines
523 B
Plaintext

--- src/preferences.c.orig Sat Dec 2 21:59:17 2006
+++ src/preferences.c Tue Jan 1 21:49:51 2008
@@ -39,10 +39,10 @@
#include "scmpc.h"
#include "preferences.h"
-#define DEFAULT_CONFIG_FILE SYSCONFDIR "/scmpc.conf"
+#define DEFAULT_CONFIG_FILE SYSCONFDIR "/scmpc/scmpc.conf"
#define DEFAULT_PID_FILE "/var/run/scmpc.pid"
#define DEFAULT_LOG_FILE "/var/log/scmpc.log"
-#define DEFAULT_CACHE_FILE "/var/lib/scmpc/scmpc.cache"
+#define DEFAULT_CACHE_FILE "/var/scmpc/scmpc.cache"
extern struct preferences prefs;