Browse Source

vim: Update from 8.0.1700 to 8.0.1750

android-5
Fredrik Fornwall 7 years ago
parent
commit
7111d49806
  1. 4
      packages/vim-python/build.sh
  2. 16
      packages/vim-python/option.c.patch
  3. 4
      packages/vim/build.sh
  4. 16
      packages/vim/option.c.patch

4
packages/vim-python/build.sh

@ -3,8 +3,8 @@ TERMUX_PKG_DESCRIPTION="Vi IMproved - enhanced vi editor"
TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python" TERMUX_PKG_DEPENDS="ncurses, vim-runtime, python"
# vim should only be updated every 50 releases on multiples of 50. # vim should only be updated every 50 releases on multiples of 50.
# Update both vim and vim-python to the same version in one PR. # Update both vim and vim-python to the same version in one PR.
TERMUX_PKG_VERSION=8.0.1700 TERMUX_PKG_VERSION=8.0.1750
TERMUX_PKG_SHA256=a7e0f747bcf117ed8c5bccf6058f5033e2956993710cd1a5fce23c1aa19d9715 TERMUX_PKG_SHA256=b28981dcba775fd28ef01516b8bb35dd880f9db3b530a6ec620d45a61af40e31
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_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
vim_cv_getcwd_broken=no vim_cv_getcwd_broken=no

16
packages/vim-python/option.c.patch

@ -1,12 +1,12 @@
diff -u -r ../cache/vim-hg/src/option.c ./src/option.c diff -u -r ../vim-8.0.1750/src/option.c ./src/option.c
--- ../cache/vim-hg/src/option.c 2014-12-29 03:45:05.848110254 -0500 --- ../vim-8.0.1750/src/option.c 2018-04-23 21:29:48.000000000 +0200
+++ ./src/option.c 2015-01-01 15:57:05.028319916 -0500 +++ ./src/option.c 2018-04-26 22:18:46.227593576 +0200
@@ -3173,7 +3173,7 @@ @@ -3413,7 +3413,7 @@
mustfree = FALSE; # ifdef MACOS_X
# ifdef UNIX p = (char_u *)"/private/tmp";
if (*names[n] == NUL) # else
- p = (char_u *)"/tmp"; - p = (char_u *)"/tmp";
+ p = (char_u *)"@TERMUX_PREFIX@/tmp"; + p = (char_u *)"@TERMUX_PREFIX@/tmp";
# endif
else else
# endif # endif
p = vim_getenv((char_u *)names[n], &mustfree);

4
packages/vim/build.sh

@ -3,8 +3,8 @@ TERMUX_PKG_DESCRIPTION="Vi IMproved - enhanced vi editor"
TERMUX_PKG_DEPENDS="ncurses, vim-runtime" TERMUX_PKG_DEPENDS="ncurses, vim-runtime"
# vim should only be updated every 50 releases on multiples of 50. # vim should only be updated every 50 releases on multiples of 50.
# Update both vim and vim-python to the same version in one PR. # Update both vim and vim-python to the same version in one PR.
TERMUX_PKG_VERSION=8.0.1700 TERMUX_PKG_VERSION=8.0.1750
TERMUX_PKG_SHA256=a7e0f747bcf117ed8c5bccf6058f5033e2956993710cd1a5fce23c1aa19d9715 TERMUX_PKG_SHA256=b28981dcba775fd28ef01516b8bb35dd880f9db3b530a6ec620d45a61af40e31
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_EXTRA_CONFIGURE_ARGS=" TERMUX_PKG_EXTRA_CONFIGURE_ARGS="
vim_cv_getcwd_broken=no vim_cv_getcwd_broken=no

16
packages/vim/option.c.patch

@ -1,12 +1,12 @@
diff -u -r ../cache/vim-hg/src/option.c ./src/option.c diff -u -r ../vim-8.0.1750/src/option.c ./src/option.c
--- ../cache/vim-hg/src/option.c 2014-12-29 03:45:05.848110254 -0500 --- ../vim-8.0.1750/src/option.c 2018-04-23 21:29:48.000000000 +0200
+++ ./src/option.c 2015-01-01 15:57:05.028319916 -0500 +++ ./src/option.c 2018-04-26 22:18:46.227593576 +0200
@@ -3173,7 +3173,7 @@ @@ -3413,7 +3413,7 @@
mustfree = FALSE; # ifdef MACOS_X
# ifdef UNIX p = (char_u *)"/private/tmp";
if (*names[n] == NUL) # else
- p = (char_u *)"/tmp"; - p = (char_u *)"/tmp";
+ p = (char_u *)"@TERMUX_PREFIX@/tmp"; + p = (char_u *)"@TERMUX_PREFIX@/tmp";
# endif
else else
# endif # endif
p = vim_getenv((char_u *)names[n], &mustfree);

Loading…
Cancel
Save