termux-packages/packages/lilv/src-filesystem.c.patch
2022-04-12 16:00:36 +09:00

12 lines
273 B
Diff

--- a/src/filesystem.c
+++ b/src/filesystem.c
@@ -84,7 +84,7 @@
#else
const char* const tmpdir = getenv("TMPDIR");
- return tmpdir ? lilv_strdup(tmpdir) : lilv_strdup("/tmp");
+ return tmpdir ? lilv_strdup(tmpdir) : lilv_strdup("@TERMUX_PREFIX@/tmp");
#endif
}