openbsd-ports/graphics/feh/patches/patch-src_options_c
2011-10-11 07:49:07 +00:00

13 lines
440 B
Plaintext

$OpenBSD: patch-src_options_c,v 1.5 2011/10/11 07:49:07 dcoppa Exp $
--- src/options.c.orig Mon Oct 10 12:31:30 2011
+++ src/options.c Tue Oct 11 09:11:11 2011
@@ -152,7 +152,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 :) */