From 2cdcb3983c47627f2c376ea48e3fe8afa0d41066 Mon Sep 17 00:00:00 2001 From: Leonid Pliushch Date: Tue, 11 Aug 2020 20:50:08 +0300 Subject: [PATCH] libfuse3: use @TERMUX_PREFIX@ in patches instead of full path --- root-packages/libfuse3/printcap.c.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/root-packages/libfuse3/printcap.c.patch b/root-packages/libfuse3/printcap.c.patch index ad45c7c08..c3be63d32 100644 --- a/root-packages/libfuse3/printcap.c.patch +++ b/root-packages/libfuse3/printcap.c.patch @@ -5,7 +5,7 @@ int ret = -1; - mountpoint = strdup("/tmp/fuse_printcap_XXXXXX"); -+ mountpoint = strdup("/data/data/com.termux/files/usr/tmp/fuse_printcap_XXXXXX"); ++ mountpoint = strdup("@TERMUX_PREFIX@/tmp/fuse_printcap_XXXXXX"); if(mkdtemp(mountpoint) == NULL) { perror("mkdtemp"); return 1;