X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/59f0d218a6ff34c80cf898f6d7ac62555ba8eb11..02baa030aa6273c97592f6790499f8892cb59223:/packages/vim/os_unix.h.patch diff --git a/packages/vim/os_unix.h.patch b/packages/vim/os_unix.h.patch index a8b95184..e0576a7b 100644 --- a/packages/vim/os_unix.h.patch +++ b/packages/vim/os_unix.h.patch @@ -1,12 +1,12 @@ -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 +diff -u -r ../vim-7.4.1049/src/os_unix.h ./src/os_unix.h +--- ../vim-7.4.1049/src/os_unix.h 2016-01-04 06:45:29.000000000 -0500 ++++ ./src/os_unix.h 2016-01-04 11:23:21.698790120 -0500 +@@ -368,7 +368,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 +