termux-packages/packages/vim/os_unix.h.patch

13 lines
487 B
Diff

diff -u -r ../cache/vim-hg/src/os_unix.h ./src/os_unix.h
--- ../cache/vim-hg/src/os_unix.h 2014-12-29 03:45:05.856110254 -0500
+++ ./src/os_unix.h 2015-01-01 15:57:52.364319949 -0500
@@ -399,7 +399,7 @@
# ifdef VMS
# define DFLT_DIR "./,sys$login:,tmp:"
# else
-# define DFLT_DIR ".,~/tmp,/var/tmp,/tmp" /* default for 'directory' */
+# define DFLT_DIR ".,~/tmp,@TERMUX_PREFIX@/var/tmp,@TERMUX_PREFIX@/tmp" /* default for 'directory' */
# endif
# endif
#endif