openbsd-ports/graphics/feh/patches/patch-src_keyevents_c
2013-03-14 13:25:30 +00:00

13 lines
428 B
Plaintext

$OpenBSD: patch-src_keyevents_c,v 1.8 2013/03/14 13:25:30 dcoppa Exp $
--- src/keyevents.c.orig Thu Feb 14 12:53:26 2013
+++ src/keyevents.c Thu Mar 14 13:45:54 2013
@@ -171,7 +171,7 @@ void init_keyevents(void) {
free(confpath);
- if (!conf && ((conf = fopen("/etc/feh/keys", "r")) == NULL))
+ if (!conf && ((conf = fopen("${SYSCONFDIR}/feh/keys", "r")) == NULL))
return;
while (fgets(line, sizeof(line), conf)) {