vim-python: Copy patch from vim
This commit is contained in:
parent
57e7a75527
commit
09d6b263d7
@ -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="
|
||||||
|
12
packages/vim-python/src-if_cscope.c.patch
Normal file
12
packages/vim-python/src-if_cscope.c.patch
Normal 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);
|
Loading…
Reference in New Issue
Block a user