chiark / gitweb /
vim: Patch to enable channel support
authorFredrik Fornwall <fredrik@fornwall.net>
Thu, 8 Dec 2016 03:04:28 +0000 (22:04 -0500)
committerFredrik Fornwall <fredrik@fornwall.net>
Thu, 8 Dec 2016 03:04:28 +0000 (22:04 -0500)
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.

packages/vim-python/build.sh
packages/vim-python/src-auto-configure.patch [new file with mode: 0644]
packages/vim/build.sh
packages/vim/src-auto-configure.patch [new file with mode: 0644]

index fed1fbcbc1dae7d0df5177dc3a6f403ab3174411..5ecc5d6f4ad660fb4aeb4b6a66737d73ca8f1572 100755 (executable)
@@ -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"
diff --git a/packages/vim-python/src-auto-configure.patch b/packages/vim-python/src-auto-configure.patch
new file mode 100644 (file)
index 0000000..58b613c
--- /dev/null
@@ -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
index 07dc893e78d00d590c3982558207310aa02bf159..e65cfaeb772c4f43d8212367edd42a93740da420 100755 (executable)
@@ -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"
diff --git a/packages/vim/src-auto-configure.patch b/packages/vim/src-auto-configure.patch
new file mode 100644 (file)
index 0000000..58b613c
--- /dev/null
@@ -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