termux-packages/packages/coreutils/src-sort.c.patch

13 lines
387 B
Diff

diff -u -r ../coreutils-8.27/src/sort.c ./src/sort.c
--- ../coreutils-8.27/src/sort.c 2017-01-01 23:34:24.000000000 +0100
+++ ./src/sort.c 2017-07-02 23:32:35.261252848 +0200
@@ -101,7 +101,7 @@
#endif
#ifndef DEFAULT_TMPDIR
-# define DEFAULT_TMPDIR "/tmp"
+# define DEFAULT_TMPDIR "@TERMUX_PREFIX@/tmp"
#endif
/* Maximum number of lines to merge every time a NODE is taken from