openbsd-ports/graphics/feh/patches/patch-src_options_c
2011-09-26 18:01:26 +00:00

13 lines
440 B
Plaintext

$OpenBSD: patch-src_options_c,v 1.4 2011/09/26 18:01:27 dcoppa Exp $
--- src/options.c.orig Mon Sep 26 09:37:05 2011
+++ src/options.c Mon Sep 26 19:52:05 2011
@@ -168,7 +168,7 @@ static void feh_load_options_for_theme(char *theme)
free(oldrcpath);
- if (!fp && ((fp = fopen("/etc/feh/themes", "r")) == NULL))
+ if (!fp && ((fp = fopen("${SYSCONFDIR}/feh/themes", "r")) == NULL))
return;
/* Oooh. We have an options file :) */