0
0
mirror of https://github.com/termux/termux-packages.git synced 2024-11-24 00:16:19 +00:00
termux-packages/disabled-packages/transcode/import-clone.c.patch
Tee KOBAYASHI 67af201270 transcode: Disabled
not building with Clang 16. Dead upstream.
2023-04-13 06:19:59 +09:00

12 lines
336 B
Diff

--- a/import/clone.c
+++ b/import/clone.c
@@ -323,7 +323,7 @@
if ((a = getenv("TMPDIR")) != NULL)
tc_snprintf(b, PATH_MAX, "%s/%s", a, "fileXXXXXX");
else
- tc_snprintf(b, PATH_MAX, "%s/%s", "/tmp", "fileXXXXXX");
+ tc_snprintf(b, PATH_MAX, "%s/%s", "@TERMUX_PREFIX@/tmp", "fileXXXXXX");
name = mktemp(b);