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>
$(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
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 685,
/**/
684,
/**/