termux-packages/x11-packages/libcairo-x/cairo-script-operators.c.patch

13 lines
593 B
Diff

diff -uNr cairo-1.14.12/util/cairo-script/cairo-script-operators.c cairo-1.14.12.mod/util/cairo-script/cairo-script-operators.c
--- cairo-1.14.12/util/cairo-script/cairo-script-operators.c 2017-12-05 00:26:25.000000000 +0200
+++ cairo-1.14.12.mod/util/cairo-script/cairo-script-operators.c 2017-12-17 13:41:14.964072343 +0200
@@ -1719,7 +1719,7 @@
static void *
_mmap_bytes (const struct mmap_vec *vec, int count)
{
- char template[] = "/tmp/csi-font.XXXXXX";
+ char template[] = "/data/data/com.termux/files/usr/tmp/csi-font.XXXXXX";
void *ptr;
int fd;
int num_bytes;