termux-packages/x11-packages/wxwidgets/src-common-filename.cpp.patch
2022-04-18 14:50:08 +05:30

12 lines
329 B
Diff

--- a/src/common/filename.cpp
+++ b/src/common/filename.cpp
@@ -1247,7 +1247,7 @@ wxString wxFileName::GetTempDir()
else
{
#ifdef __UNIX_LIKE__
- dir = CheckIfDirExists("/tmp");
+ dir = CheckIfDirExists("@TERMUX_PREFIX@/tmp");
if ( dir.empty() )
#endif // __UNIX_LIKE__
dir = ".";