diff --git a/packages/vim-python/build.sh b/packages/vim-python/build.sh index acd7cc596..71685dcfd 100644 --- a/packages/vim-python/build.sh +++ b/packages/vim-python/build.sh @@ -7,7 +7,7 @@ TERMUX_PKG_RECOMMENDS="diffutils" # 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. TERMUX_PKG_VERSION=8.2.3500 -TERMUX_PKG_REVISION=1 +TERMUX_PKG_REVISION=2 TERMUX_PKG_SRCURL="https://github.com/vim/vim/archive/v${TERMUX_PKG_VERSION}.tar.gz" TERMUX_PKG_SHA256=7f280d08800d99d270bb0f722db89b04798600a0214d0d74d410ec9d57c5d2aa TERMUX_PKG_EXTRA_CONFIGURE_ARGS=" diff --git a/packages/vim-python/src-evalfunc.c.patch b/packages/vim-python/src-evalfunc.c.patch new file mode 100644 index 000000000..bb61083ee --- /dev/null +++ b/packages/vim-python/src-evalfunc.c.patch @@ -0,0 +1,13 @@ +diff --git a/src/evalfunc.c b/src/evalfunc.c +index 16d9be3..cec0e4f 100644 +--- a/src/evalfunc.c ++++ b/src/evalfunc.c +@@ -4922,6 +4922,8 @@ f_has(typval_T *argvars, typval_T *rettv) + 0 + #endif + }, ++ {"android", 1}, ++ {"termux", 1}, + {"fname_case", + #ifndef CASE_INSENSITIVE_FILENAME + 1