mirror of
https://github.com/macvim-dev/macvim.git
synced 2026-06-11 15:37:29 +02:00
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 <noreply@anthropic.com>
Signed-off-by: Yasuhiro Matsumoto <mattn.jp@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
9d5a20e440
commit
627e4355ac
Vendored
+1
-1
@@ -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 #(
|
||||
|
||||
+1
-1
@@ -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"])
|
||||
|
||||
@@ -729,6 +729,8 @@ static char *(features[]) =
|
||||
|
||||
static int included_patches[] =
|
||||
{ /* Add new patch number below this line */
|
||||
/**/
|
||||
546,
|
||||
/**/
|
||||
545,
|
||||
/**/
|
||||
|
||||
Reference in New Issue
Block a user