From: Foxe Chen Date: Thu, 30 Jul 2026 18:23:25 +0000 (+0000) Subject: patch 9.2.0876: GTK4: compile error with disabled netbeans feat X-Git-Tag: v9.2.0876^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=fa285ef8dce38c05102975e69c0bd1fc7b781fba;p=thirdparty%2Fvim.git patch 9.2.0876: GTK4: compile error with disabled netbeans feat Problem: GTK4: compile error with disabled netbeans feature Solution: Add ifdefs (Foxe Chen) closes: #20879 Signed-off-by: Foxe Chen Signed-off-by: Christian Brabandt --- diff --git a/src/gui_gtk4.c b/src/gui_gtk4.c index 45ee9f505d..f5fb4487df 100644 --- a/src/gui_gtk4.c +++ b/src/gui_gtk4.c @@ -345,6 +345,7 @@ gui_mch_prepare(int *argc, char **argv) else if (arg_match(s, "-fg", &value) || arg_match(s, "-foreground", &value)) foreground_argument = value; +#ifdef FEAT_NETBEANS_INTG else if (strncmp(s, "-nb", 3) == 0) { gui.dofork = false; // don't fork() when starting GUI @@ -352,6 +353,7 @@ gui_mch_prepare(int *argc, char **argv) has_inline_value = TRUE; // -nb uses non standard syntax, just // remove the flag. } +#endif else if (arg_match(s, "--prg-name", &value)) // GTK4 specific prgname = value; diff --git a/src/version.c b/src/version.c index 0f6a474227..e921a5c367 100644 --- a/src/version.c +++ b/src/version.c @@ -758,6 +758,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 876, /**/ 875, /**/