termux-packages/x11-packages/feh/feh-3.0_src_filelist.c.patch

13 lines
435 B
Diff
Raw Normal View History

2018-11-23 22:35:27 +01:00
diff -uNr feh-3.0/src/filelist.c feh-3.0.mod/src/filelist.c
--- feh-3.0/src/filelist.c 2018-11-09 18:17:58.000000000 +0200
+++ feh-3.0.mod/src/filelist.c 2018-11-23 23:30:02.490608366 +0200
@@ -160,7 +160,7 @@
{
char buf[1024];
size_t readsize;
- char *sfn = estrjoin("_", "/tmp/feh_stdin", "XXXXXX", NULL);
+ char *sfn = estrjoin("_", "@TERMUX_PREFIX@/tmp/feh_stdin", "XXXXXX", NULL);
int fd = mkstemp(sfn);
FILE *outfile;