termux-packages/packages/bsd-games/common-util.c.patch
2022-02-20 05:00:10 +09:00

12 lines
241 B
Diff

--- a/common/util.c
+++ b/common/util.c
@@ -86,7 +86,7 @@
}
datahome = getenv ("TMPDIR");
if (!datahome)
- datahome = "/tmp";
+ datahome = "@TERMUX_PREFIX@/tmp";
snprintf (buf, bufsz, "%s", datahome);
return buf;
}