Fredrik Fornwall
5 years ago
4 changed files with 25 additions and 15 deletions
@ -1,12 +0,0 @@ |
|||
diff -uNr imlib2-1.5.1/src/modules/loaders/loader_zlib.c imlib2-1.5.1.mod/src/modules/loaders/loader_zlib.c
|
|||
--- imlib2-1.5.1/src/modules/loaders/loader_zlib.c 2017-12-16 15:03:10.000000000 +0200
|
|||
+++ imlib2-1.5.1.mod/src/modules/loaders/loader_zlib.c 2018-11-14 19:06:27.008030924 +0200
|
|||
@@ -44,7 +44,7 @@
|
|||
{ |
|||
ImlibLoader *loader; |
|||
int src, dest, res; |
|||
- char *file, *p, *q, tmp[] = "/tmp/imlib2_loader_zlib-XXXXXX";
|
|||
+ char *file, *p, *q, tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_zlib-XXXXXX";
|
|||
char *real_ext; |
|||
struct stat st; |
|||
|
@ -0,0 +1,11 @@ |
|||
diff -u -r ../imlib2-1.6.0/src/bin/imlib2_view.c ./src/bin/imlib2_view.c
|
|||
--- ../imlib2-1.6.0/src/bin/imlib2_view.c 2019-11-23 16:59:35.000000000 +0000
|
|||
+++ ./src/bin/imlib2_view.c 2019-12-12 20:27:59.394947223 +0000
|
|||
@@ -5,6 +5,7 @@
|
|||
#include <stdio.h> |
|||
#include <stdlib.h> |
|||
#include <errno.h> |
|||
+#include <sys/select.h>
|
|||
|
|||
#include "Imlib2.h" |
|||
|
@ -0,0 +1,12 @@ |
|||
diff -u -r ../imlib2-1.6.0/src/modules/loaders/loader_zlib.c ./src/modules/loaders/loader_zlib.c
|
|||
--- ../imlib2-1.6.0/src/modules/loaders/loader_zlib.c 2019-11-23 05:36:44.000000000 +0000
|
|||
+++ ./src/modules/loaders/loader_zlib.c 2019-12-12 20:15:28.361709201 +0000
|
|||
@@ -44,7 +44,7 @@
|
|||
ImlibLoader *loader; |
|||
int src; |
|||
int dest, res; |
|||
- char *file, *p, *q, tmp[] = "/tmp/imlib2_loader_zlib-XXXXXX";
|
|||
+ char *file, *p, *q, tmp[] = "@TERMUX_PREFIX@/tmp/imlib2_loader_zlib-XXXXXX";
|
|||
char *real_ext; |
|||
|
|||
/* make sure this file ends in ".gz" and that there's another ext |
Loading…
Reference in new issue