mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-02-02 22:50:06 +08:00
fix(vim): apply vim patch v8.0.1635
when change to ubuntu-20.04 without this patch, can not build vim.
This commit is contained in:
parent
49a995f7b9
commit
21b93650e4
@ -15,6 +15,12 @@ install_vim() {
|
||||
mkdir -p $out
|
||||
git clone --depth 1 --single-branch $ext $URL $tmp
|
||||
cd $tmp
|
||||
|
||||
# Apply Vim patch v8.0.1635 to fix build with Python.
|
||||
if grep -q _POSIX_THREADS src/if_python3.c; then
|
||||
sed -i '/#ifdef _POSIX_THREADS/,+2 d' src/if_python3.c
|
||||
fi
|
||||
|
||||
./configure \
|
||||
--with-features=huge \
|
||||
--enable-pythoninterp \
|
||||
|
Loading…
Reference in New Issue
Block a user