openbsd-ports/graphics/feh/patches/patch-src_options_c
2011-05-20 10:57:56 +00:00

13 lines
440 B
Plaintext

$OpenBSD: patch-src_options_c,v 1.2 2011/05/20 10:57:57 dcoppa Exp $
--- src/options.c.orig Fri May 20 12:42:07 2011
+++ src/options.c Fri May 20 12:42:36 2011
@@ -173,7 +173,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 :) */