termux-packages/x11-packages/wxwidgets/src-common-filename.cpp.patch

12 lines
329 B
Diff
Raw Normal View History

2021-12-22 10:45:39 +01:00
--- 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 = ".";