ports/graphics/feh/patches/patch-src_events_c

12 lines
330 B
Text

Index: src/events.c
--- src/events.c.orig
+++ src/events.c
@@ -133,7 +133,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)) {