From: Yasuhiro Matsumoto Date: Thu, 28 May 2026 18:57:20 +0000 (+0000) Subject: patch 9.2.0546: configure: GTK4 build requires GTK >= 4.10 X-Git-Tag: v9.2.0546^0 X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=627e4355ac4de85e05e2bd72509b58c3c03f4b70;p=thirdparty%2Fvim.git patch 9.2.0546: configure: GTK4 build requires GTK >= 4.10 Problem: configure: GTK4 build requires GTK >= 4.10 Solution: Update configure script and require at least GTK 4.10 version (Yasuhiro Matsumoto). The GTK4 GUI uses GtkFontDialog, GtkFileDialog and GtkAlertDialog, all introduced in GTK 4.10. Without this bump, configure passes on systems with older GTK4 (e.g. Debian Bookworm ships 4.8) and the build fails later in gui_gtk4.c with unknown type / implicit function declaration errors. fixes: #20340 closes: #20360 Co-Authored-by: Claude Signed-off-by: Yasuhiro Matsumoto Signed-off-by: Christian Brabandt --- diff --git a/src/auto/configure b/src/auto/configure index a65e2182fa..17813c5dbc 100755 --- a/src/auto/configure +++ b/src/auto/configure @@ -10853,7 +10853,7 @@ printf "%s\n" "gtk test disabled" >&6; } if test "x$PKG_CONFIG" != "xno"; then - min_gtk_version="4.0.0" + min_gtk_version="4.10.0" if test "$PKG_CONFIG" != "no"; then case $min_gtk_version in #( diff --git a/src/configure.ac b/src/configure.ac index 27a8943bda..cf6a59f6ca 100644 --- a/src/configure.ac +++ b/src/configure.ac @@ -2986,7 +2986,7 @@ if test -z "$SKIP_GTK4"; then fi if test "x$PKG_CONFIG" != "xno"; then - AM_PATH_GTK(4.0.0, + AM_PATH_GTK(4.10.0, [GUI_LIB_LOC="$GTK_LIBDIR" GTK_LIBNAME="$GTK_LIBS" GUI_INC_LOC="$GTK_CPPFLAGS"]) diff --git a/src/version.c b/src/version.c index 4c08998718..4382b5fddb 100644 --- a/src/version.c +++ b/src/version.c @@ -729,6 +729,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 546, /**/ 545, /**/