termux-packages/packages/libgnustep-base/Tools-gdomap.c.patch

12 lines
293 B
Diff

--- a/Tools/gdomap.c
+++ b/Tools/gdomap.c
@@ -5320,7 +5320,7 @@
#ifndef __MINGW__
if (0 == jail)
{
- jail = "/tmp"; /* Not great, but better than nothing */
+ jail = "@TERMUX_PREFIX@/tmp"; /* Not great, but better than nothing */
}
if (chdir(jail) < 0)
{