termux-packages/packages/libpoco/Foundation-src-Path_UNIX.cpp.patch

21 lines
357 B
Diff
Raw Normal View History

2021-12-28 15:55:51 +01:00
--- a/Foundation/src/Path_UNIX.cpp
+++ b/Foundation/src/Path_UNIX.cpp
@@ -199,7 +199,7 @@
}
else
{
- path = "/tmp/";
+ path = "@TERMUX_PREFIX@/tmp/";
}
return path;
}
@@ -212,7 +212,7 @@
#if POCO_OS == POCO_OS_MAC_OS_X
path = "/Library/Preferences/";
#else
- path = "/etc/";
+ path = "@TERMUX_PREFIX@/etc/";
#endif
return path;
}