mirror of
https://github.com/termux/termux-packages.git
synced 2024-11-24 02:36:16 +00:00
1bbe66e98a
Incompatible with latest libuber-h3. A whole bunch of patches are quite unmaintainable. kphp-timelib is also disabled as only kphp depends on it.
12 lines
442 B
Diff
12 lines
442 B
Diff
--- a/compiler/compiler.cpp
|
|
+++ b/compiler/compiler.cpp
|
|
@@ -119,7 +119,7 @@
|
|
std::string dest_path = G->settings().dest_dir.get();
|
|
|
|
std::stringstream ss;
|
|
- ss << "/tmp/" << std::hex << vk::std_hash(dest_path) << "_kphp_temp_lock";
|
|
+ ss << "@TERMUX_PREFIX@/tmp/" << std::hex << vk::std_hash(dest_path) << "_kphp_temp_lock";
|
|
locked_filename_ = ss.str();
|
|
|
|
fd_ = open(locked_filename_.c_str(), O_RDWR | O_CREAT, 0666);
|