1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-02-03 03:50:04 +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:
wsdjeg 2023-04-04 10:53:05 +08:00
parent 49a995f7b9
commit 21b93650e4

View File

@ -15,6 +15,12 @@ install_vim() {
mkdir -p $out mkdir -p $out
git clone --depth 1 --single-branch $ext $URL $tmp git clone --depth 1 --single-branch $ext $URL $tmp
cd $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 \ ./configure \
--with-features=huge \ --with-features=huge \
--enable-pythoninterp \ --enable-pythoninterp \