openbsd-ports/graphics/feh/patches/patch-src_options_c
2012-03-26 12:53:24 +00:00

13 lines
440 B
Plaintext

$OpenBSD: patch-src_options_c,v 1.6 2012/03/26 12:53:24 dcoppa Exp $
--- src/options.c.orig Sun Mar 25 13:16:59 2012
+++ src/options.c Mon Mar 26 14:42:08 2012
@@ -153,7 +153,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 :) */