openbsd-ports/graphics/feh/patches/patch-src_events_c
2012-12-31 12:03:09 +00:00

13 lines
428 B
Plaintext

$OpenBSD: patch-src_events_c,v 1.4 2012/12/31 12:03:09 dcoppa Exp $
--- src/events.c.orig Mon Dec 24 15:47:25 2012
+++ src/events.c Mon Dec 31 12:57:08 2012
@@ -124,7 +124,7 @@ void init_buttonbindings(void)
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/buttons", "r")) == NULL))
+ if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/buttons", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {