summaryrefslogtreecommitdiff
path: root/wm/pwm/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'wm/pwm/patches/patch-ah')
-rw-r--r--wm/pwm/patches/patch-ah20
1 files changed, 7 insertions, 13 deletions
diff --git a/wm/pwm/patches/patch-ah b/wm/pwm/patches/patch-ah
index 3606496f115..68438cf2acc 100644
--- a/wm/pwm/patches/patch-ah
+++ b/wm/pwm/patches/patch-ah
@@ -1,19 +1,13 @@
-$NetBSD: patch-ah,v 1.1 2002/01/31 04:08:00 jlam Exp $
+$NetBSD: patch-ah,v 1.2 2003/06/01 16:17:02 salo Exp $
---- config.h.orig Sat Jun 3 18:12:54 2000
-+++ config.h
-@@ -60,11 +60,11 @@
- #define PWM_VERSION ""
+--- config.h.orig 2003-05-28 23:55:08.000000000 +0200
++++ config.h 2003-06-01 17:44:22.000000000 +0200
+@@ -79,7 +79,7 @@
+ #define ETCDIR "/etc"
#endif
--#ifndef PREFIX
--#define PREFIX ""
-+#ifndef SYSCONFDIR
-+#define SYSCONFDIR "/etc/pwm"
- #endif
-
--#define CF_SYS_CONFIG_LOCATION PREFIX"/etc/pwm/"
-+#define CF_SYS_CONFIG_LOCATION SYSCONFDIR"/"
+-#define CF_SYS_CONFIG_LOCATION ETCDIR"/pwm/"
++#define CF_SYS_CONFIG_LOCATION PKG_SYSCONFDIR"/pwm/"
#define CF_GLOBAL_CFGFILE CF_SYS_CONFIG_LOCATION"pwm.conf"
#define CF_USER_CONFIG_LOCATION ".pwm/"
#define CF_USER_CFGFILE CF_USER_CONFIG_LOCATION"pwm.conf"