vim-python: Copy patch from vim

This commit is contained in:
Fredrik Fornwall 2018-06-20 01:20:00 +02:00
parent 57e7a75527
commit 09d6b263d7
2 changed files with 13 additions and 0 deletions

View File

@ -4,6 +4,7 @@ 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.1.0050 TERMUX_PKG_VERSION=8.1.0050
TERMUX_PKG_REVISION=1
TERMUX_PKG_SHA256=1b2081a19347ec13703facd1f662e5f2c58d870a217bf3f8d34f8b777bab984b TERMUX_PKG_SHA256=1b2081a19347ec13703facd1f662e5f2c58d870a217bf3f8d34f8b777bab984b
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="

View File

@ -0,0 +1,12 @@
diff -uNr vim-8.1.0050/src/if_cscope.c vim-8.1.0050.mod/src/if_cscope.c
--- vim-8.1.0050/src/if_cscope.c 2018-06-12 21:25:52.000000000 +0300
+++ vim-8.1.0050.mod/src/if_cscope.c 2018-06-19 20:32:38.661663690 +0300
@@ -962,7 +962,7 @@
PERROR(_("cs_create_connection setpgid failed"));
# endif
# endif
- if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
+ if (execl("@TERMUX_PREFIX@/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1)
PERROR(_("cs_create_connection exec failed"));
exit(127);