openbsd-ports/graphics/feh/patches/patch-src_keyevents_c

13 lines
428 B
Plaintext

$OpenBSD: patch-src_keyevents_c,v 1.6 2011/09/09 09:51:43 dcoppa Exp $
--- src/keyevents.c.orig Mon Sep 5 11:00:25 2011
+++ src/keyevents.c Fri Sep 9 11:27:11 2011
@@ -167,7 +167,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)) {