termux-packages/x11-packages/imlib2/imlib2-1.5.1_src_modules_loaders_loader_id3.c.patch

13 lines
574 B
Diff
Raw Normal View History

diff -uNr imlib2-1.5.1/src/modules/loaders/loader_id3.c imlib2-1.5.1.mod/src/modules/loaders/loader_id3.c
--- imlib2-1.5.1/src/modules/loaders/loader_id3.c 2018-03-10 21:31:39.000000000 +0200
+++ imlib2-1.5.1.mod/src/modules/loaders/loader_id3.c 2018-11-14 19:06:26.994697483 +0200
2018-09-10 00:42:26 +02:00
@@ -507,7 +507,7 @@
if (loader)
{
- char *ofile, tmp[] = "/tmp/imlib2_loader_id3-XXXXXX";
+ char *ofile, tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_id3-XXXXXX";
2018-09-10 00:42:26 +02:00
int dest;
if ((dest = mkstemp(tmp)) < 0)