]> git.ipfire.org Git - thirdparty/vim.git/commit
patch 9.2.0685: clipboard.c does not get the Wayland CFLAGS on GTK2 v9.2.0685
authorChristoffer Aasted <dezzadk@gmail.com>
Sun, 21 Jun 2026 13:13:56 +0000 (13:13 +0000)
committerChristian Brabandt <cb@256bit.org>
Sun, 21 Jun 2026 13:13:56 +0000 (13:13 +0000)
commita53becef7fa956a79f0f01082996d9fd79a7e61d
tree35960d4fd44e9e4a758a9dd5890f83f82d780af5
parent0cafe56b7415be5b3bf1003d8a52d293efd9bc2e
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 <dezzadk@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
src/Makefile
src/version.c