termux-packages/packages/vim/option.c.patch

13 lines
356 B
Diff

diff -u -r ../vim-8.0.1750/src/option.c ./src/option.c
--- ../vim-8.0.1750/src/option.c 2018-04-23 21:29:48.000000000 +0200
+++ ./src/option.c 2018-04-26 22:18:46.227593576 +0200
@@ -3413,7 +3413,7 @@
# ifdef MACOS_X
p = (char_u *)"/private/tmp";
# else
- p = (char_u *)"/tmp";
+ p = (char_u *)"@TERMUX_PREFIX@/tmp";
# endif
else
# endif