termux-packages/packages/libpoco/Foundation-src-Path_UNIX.cpp.patch
2021-12-28 18:08:03 +02:00

21 lines
357 B
Diff

--- 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;
}