vim: Patch to enable channel support

The vim configure script had a bug which caused the channel support
to be disabled. Patch this while awaiting a fix merged upstream.

Fixes #577.
This commit is contained in:
Fredrik Fornwall 2016-12-07 22:04:28 -05:00
parent 2478fa4664
commit 68129b3c5d
4 changed files with 30 additions and 2 deletions

View File

@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python"
# Vim 8.0 patches described at ftp://ftp.vim.org/pub/vim/patches/8.0/README
TERMUX_PKG_VERSION=8.0.0104
TERMUX_PKG_VERSION=8.0.0124
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"

View File

@ -0,0 +1,14 @@
Submitted upstream at https://github.com/vim/vim/pull/1314
diff -u -r ../vim-8.0.0104/src/auto/configure ./src/auto/configure
--- ../vim-8.0.0104/src/auto/configure 2016-11-26 11:45:53.000000000 -0500
+++ ./src/auto/configure 2016-12-07 21:36:01.937616265 -0500
@@ -7411,7 +7411,7 @@
/* Check bitfields */
struct nbbuf {
unsigned int initDone:1;
- ushort signmaplen;
+ unsigned short signmaplen;
};
int

View File

@ -3,7 +3,7 @@ TERMUX_PKG_HOMEPAGE=http://www.vim.org/
TERMUX_PKG_DEPENDS="ncurses, vim-runtime"
# Vim 8.0 patches described at ftp://ftp.vim.org/pub/vim/patches/8.0/README
TERMUX_PKG_VERSION=8.0.0104
TERMUX_PKG_VERSION=8.0.0124
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"

View File

@ -0,0 +1,14 @@
Submitted upstream at https://github.com/vim/vim/pull/1314
diff -u -r ../vim-8.0.0104/src/auto/configure ./src/auto/configure
--- ../vim-8.0.0104/src/auto/configure 2016-11-26 11:45:53.000000000 -0500
+++ ./src/auto/configure 2016-12-07 21:36:01.937616265 -0500
@@ -7411,7 +7411,7 @@
/* Check bitfields */
struct nbbuf {
unsigned int initDone:1;
- ushort signmaplen;
+ unsigned short signmaplen;
};
int