Browse Source

vim: Update to latest patch

android-5
Fredrik Fornwall 9 years ago
parent
commit
9a498b63cb
  1. 2
      packages/vim-python/build.sh
  2. 10
      packages/vim-python/os_unix.h.patch
  3. 2
      packages/vim/build.sh
  4. 10
      packages/vim/os_unix.h.patch

2
packages/vim-python/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python" TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python"
# Vim 7.4 patches described at ftp://ftp.vim.org/pub/vim/patches/7.4/README # Vim 7.4 patches described at ftp://ftp.vim.org/pub/vim/patches/7.4/README
TERMUX_PKG_VERSION=7.4.979 TERMUX_PKG_VERSION=7.4.1049
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz" TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION} TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION}
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tty_group=world" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tty_group=world"

10
packages/vim-python/os_unix.h.patch

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

2
packages/vim/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
TERMUX_PKG_DEPENDS="ncurses, vim-runtime" TERMUX_PKG_DEPENDS="ncurses, vim-runtime"
# Vim 7.4 patches described at ftp://ftp.vim.org/pub/vim/patches/7.4/README # Vim 7.4 patches described at ftp://ftp.vim.org/pub/vim/patches/7.4/README
TERMUX_PKG_VERSION=7.4.979 TERMUX_PKG_VERSION=7.4.1049
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz" TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION} TERMUX_PKG_FOLDERNAME=vim-${TERMUX_PKG_VERSION}
TERMUX_PKG_EXTRA_CONFIGURE_ARGS="vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tty_group=world" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="vim_cv_toupper_broken=no vim_cv_terminfo=yes vim_cv_tty_group=world"

10
packages/vim/os_unix.h.patch

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

Loading…
Cancel
Save