From: Christoffer Aasted Date: Sun, 21 Jun 2026 13:13:56 +0000 (+0000) Subject: patch 9.2.0685: clipboard.c does not get the Wayland CFLAGS on GTK2 X-Git-Tag: v9.2.0685^0 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a53becef7fa956a79f0f01082996d9fd79a7e61d;p=thirdparty%2Fvim.git patch 9.2.0685: clipboard.c does not get the Wayland CFLAGS on GTK2 Problem: clipboard.c relies on the GTK include flags from pkg-config to pull in the Wayland headers. This is not guaranteed: GTK2 does not add them, and Wayland clipboard support is independent of the GUI. Solution: Add $(WAYLAND_CFLAGS) and $(WAYLAND_CPPFLAGS) to the clipboard.c compile rule so it always compiles, consistent with the other Wayland files (Christoffer Aasted). closes: #20576 Signed-off-by: Christoffer Aasted Signed-off-by: Christian Brabandt --- diff --git a/src/Makefile b/src/Makefile index ef0cb85535..89e023c9d0 100644 --- a/src/Makefile +++ b/src/Makefile @@ -3287,7 +3287,7 @@ objects/clientserver.o: clientserver.c $(CCC) -o $@ clientserver.c objects/clipboard.o: clipboard.c $(WAYLAND_SRC) - $(CCC) -o $@ clipboard.c + $(CCC) $(WAYLAND_CFLAGS) $(WAYLAND_CPPFLAGS) -o $@ clipboard.c objects/cmdexpand.o: cmdexpand.c $(CCC) -o $@ cmdexpand.c diff --git a/src/version.c b/src/version.c index 9fba8ef19c..3f925d1475 100644 --- a/src/version.c +++ b/src/version.c @@ -759,6 +759,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 685, /**/ 684, /**/