termux-packages/packages/lilv/src-filesystem.c.patch

12 lines
273 B
Diff
Raw Normal View History

2022-04-11 20:48:14 +02:00
--- 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
}