From fde0eb0964bd6d512ef55fc41f7dddc507c6efd6 Mon Sep 17 00:00:00 2001 From: Bananymous Date: Sun, 5 Jul 2026 00:26:31 +0300 Subject: [PATCH] ports: Update vim 9.1.1485->9.2.0538 --- ports/vim/build.sh | 20 +++----------------- 1 file changed, 3 insertions(+), 17 deletions(-) diff --git a/ports/vim/build.sh b/ports/vim/build.sh index 921b5f12..3d1e31f5 100755 --- a/ports/vim/build.sh +++ b/ports/vim/build.sh @@ -1,35 +1,21 @@ #!/bin/bash ../install.sh NAME='vim' -VERSION='9.1.1485' -DOWNLOAD_URL="https://github.com/vim/vim/archive/refs/tags/v$VERSION.tar.gz#89b48e30c9e97bb819ffed752c8a1727b70bed79890bffe9da5f7c2170487dd2" +VERSION='9.2.0538' +DOWNLOAD_URL="https://github.com/vim/vim/archive/refs/tags/v$VERSION.tar.gz#8a1095e157dddb4673aa7b01233f02c4db109b1e5fe562d244cb2caed846f957" DEPENDENCIES=('ncurses') CONFIGURE_OPTIONS=( '--with-tlib=ncurses' '--disable-nls' - '--disable-sysmouse' - '--disable-channel' 'vim_cv_toupper_broken=no' 'vim_cv_terminfo=yes' 'vim_cv_tgetent=yes' 'vim_cv_getcwd_broken=no' + 'vim_cv_timer_create_works=no' 'vim_cv_stat_ignores_slash=yes' 'vim_cv_memmove_handles_overlap=yes' - 'CFLAGS=-Wno-incompatible-pointer-types' ) -post_configure() { - # vim doesn't do link tests, so it thinks these exists - config_undefines=( - 'HAVE_SHM_OPEN' - 'HAVE_TIMER_CREATE' - ) - - for undefine in "${config_undefines[@]}"; do - sed -i "s|^#define $undefine 1$|/\* #undef $undefine \*/|" src/auto/config.h - done -} - post_install() { shellrc="$BANAN_SYSROOT/home/user/.shellrc" grep -q 'export EDITOR=' "$shellrc" || echo 'export EDITOR=vim' >> "$shellrc"