termux-packages/x11-packages/feh/feh-3.0_src_options.c.patch
2022-04-18 14:08:43 +05:30

13 lines
420 B
Diff

diff -uNr feh-3.0/src/options.c feh-3.0.mod/src/options.c
--- feh-3.0/src/options.c 2018-11-09 18:17:58.000000000 +0200
+++ feh-3.0.mod/src/options.c 2018-11-23 23:28:22.666746861 +0200
@@ -158,7 +158,7 @@
free(oldrcpath);
- if (!fp && ((fp = fopen("/etc/feh/themes", "r")) == NULL))
+ if (!fp && ((fp = fopen("@TERMUX_PREFIX@/etc/feh/themes", "r")) == NULL))
return;
/* Oooh. We have an options file :) */