termux-packages/x11-packages/feh/feh-2.25.1_src_slideshow.c.patch
2022-04-18 14:08:05 +05:30

13 lines
639 B
Diff

diff -uNr feh-2.25.1/src/slideshow.c feh-2.25.1.mod/src/slideshow.c
--- feh-2.25.1/src/slideshow.c 2018-03-07 18:53:33.000000000 +0200
+++ feh-2.25.1.mod/src/slideshow.c 2018-06-21 17:31:53.803526576 +0300
@@ -482,7 +482,7 @@
if (filelist_tmppath != NULL) {
strncat(ret, filelist_tmppath, sizeof(ret) - strlen(ret) - 1);
} else {
- filelist_tmppath = feh_unique_filename("/tmp/","filelist");
+ filelist_tmppath = feh_unique_filename("/data/data/com.termux/files/usr/tmp/","filelist");
feh_write_filelist(filelist, filelist_tmppath);
strncat(ret, filelist_tmppath, sizeof(ret) - strlen(ret) - 1);
}