Browse Source

vim: Update to latest patch

android-5
Fredrik Fornwall 9 years ago
parent
commit
9b4c5fc90f
  1. 2
      packages/vim-python/build.sh
  2. 15
      packages/vim-python/src-osdef1.h.in.patch
  3. 2
      packages/vim/build.sh
  4. 15
      packages/vim/src-osdef1.h.in.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"
# Vim 7.4 patches described at ftp://ftp.vim.org/pub/vim/patches/7.4/README
TERMUX_PKG_VERSION=7.4.1147
TERMUX_PKG_VERSION=7.4.1174
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
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"

15
packages/vim-python/src-osdef1.h.in.patch

@ -0,0 +1,15 @@
bzero() is a define in the NDK header files (but should probably
not be used at all, bzero as deprecated and then removed in POSIX).
diff -u -r ../vim-7.4.1174/src/osdef1.h.in ./src/osdef1.h.in
--- ../vim-7.4.1174/src/osdef1.h.in 2016-01-24 16:17:03.000000000 -0500
+++ ./src/osdef1.h.in 2016-01-24 17:01:12.816949231 -0500
@@ -70,8 +70,6 @@
# endif
# endif
#endif
-/* used inside of FD_ZERO macro: */
-extern void bzero(void *, size_t);
#ifdef HAVE_SETSID
extern pid_t setsid(void);
#endif

2
packages/vim/build.sh

@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
TERMUX_PKG_DEPENDS="ncurses, vim-runtime"
# Vim 7.4 patches described at ftp://ftp.vim.org/pub/vim/patches/7.4/README
TERMUX_PKG_VERSION=7.4.1147
TERMUX_PKG_VERSION=7.4.1174
TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz"
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"

15
packages/vim/src-osdef1.h.in.patch

@ -0,0 +1,15 @@
bzero() is a define in the NDK header files (but should probably
not be used at all, bzero as deprecated and then removed in POSIX).
diff -u -r ../vim-7.4.1174/src/osdef1.h.in ./src/osdef1.h.in
--- ../vim-7.4.1174/src/osdef1.h.in 2016-01-24 16:17:03.000000000 -0500
+++ ./src/osdef1.h.in 2016-01-24 17:01:12.816949231 -0500
@@ -70,8 +70,6 @@
# endif
# endif
#endif
-/* used inside of FD_ZERO macro: */
-extern void bzero(void *, size_t);
#ifdef HAVE_SETSID
extern pid_t setsid(void);
#endif
Loading…
Cancel
Save