Commit: patch 9.1.1786: Compile error with clipboard

1 view
Skip to first unread message

Christian Brabandt

unread,
Sep 23, 2025, 2:30:18 PMSep 23
to vim...@googlegroups.com
patch 9.1.1786: Compile error with clipboard

Commit: https://github.com/vim/vim/commit/01cde7ff4c771f08edec72d3492d8a56a2b0f73b
Author: Foxe Chen <chen...@gmail.com>
Date: Tue Sep 23 18:15:48 2025 +0000

patch 9.1.1786: Compile error with clipboard

Problem: Compile error with clipboard
(lacyggoill, after v9.1.1784)
Solution: Add $WAYLAND_SRC as dependency for clipboard.c in Makefile
(Foxe Chen)

closes: #18375

Signed-off-by: Foxe Chen <chen...@gmail.com>
Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/Makefile b/src/Makefile
index b2b7a83b8..c5697a256 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -3234,7 +3234,7 @@ objects/cindent.o: cindent.c
objects/clientserver.o: clientserver.c
$(CCC) -o $@ clientserver.c

-objects/clipboard.o: clipboard.c
+objects/clipboard.o: clipboard.c $(WAYLAND_SRC)
$(CCC) -o $@ clipboard.c

objects/cmdexpand.o: cmdexpand.c
diff --git a/src/version.c b/src/version.c
index 0525c2f3c..4de35bef3 100644
--- a/src/version.c
+++ b/src/version.c
@@ -729,6 +729,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1786,
/**/
1785,
/**/
Reply all
Reply to author
Forward
0 new messages