Ports: Build vim with -std=c17

C23 removed support for incomplete function prototypes.
This commit is contained in:
Sönke Holz
2025-06-13 14:34:38 +02:00
committed by Nico Weber
parent 6a4102510d
commit 6f4f7a83cc

View File

@@ -6,7 +6,7 @@ useconfigure="true"
files=(
"https://github.com/vim/vim/archive/refs/tags/v${version}.tar.gz#2a7ed006ba7c6af3210525606444a9c4bd45efb467e9df045eabc5a09bc428f9"
)
configopts=("--with-tlib=tinfo" "--with-features=huge")
configopts=("--with-tlib=tinfo" "--with-features=huge" "CFLAGS=-std=c17")
depends=("ncurses" "gettext")
export vim_cv_getcwd_broken=no