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

12 lines
315 B
Diff
Raw Normal View History

2021-12-28 15:55:51 +01:00
--- a/Foundation/src/NamedMutex_UNIX.cpp
+++ b/Foundation/src/NamedMutex_UNIX.cpp
@@ -158,7 +158,7 @@
#if defined(sun) || defined(__APPLE__) || defined(__QNX__)
std::string fn = "/";
#else
- std::string fn = "/tmp/";
+ std::string fn = "@TERMUX_PREFIX@/tmp/";
#endif
fn.append(_name);
fn.append(".mutex");