termux-packages/packages/libarrow-cpp/cpp-src-arrow-util-io_util.cc.patch

12 lines
317 B
Diff
Raw Normal View History

2022-04-24 20:44:40 +02:00
--- a/cpp/src/arrow/util/io_util.cc
+++ b/cpp/src/arrow/util/io_util.cc
@@ -1448,7 +1448,7 @@
#else
selectors = {{"TMPDIR", ""}, {"TMP", ""}, {"TEMP", ""}, {"TEMPDIR", ""}};
#ifdef __ANDROID__
- fallback_tmp = "/data/local/tmp";
+ fallback_tmp = "@TERMUX_PREFIX@/tmp";
#else
fallback_tmp = "/tmp";
#endif