termux-packages/packages/bsd-games/common-util.c.patch

12 lines
241 B
Diff
Raw Normal View History

2022-02-18 11:01:01 +01:00
--- 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;
}