Commit: patch 9.2.0164: build error when XCLIPBOARD is not defined

5 views
Skip to first unread message

Christian Brabandt

unread,
Mar 14, 2026, 1:47:03 PM (9 days ago) Mar 14
to vim...@googlegroups.com
patch 9.2.0164: build error when XCLIPBOARD is not defined

Commit: https://github.com/vim/vim/commit/ef3cee793f6f277d03e2132236d8a6887ebd064f
Author: Christian Brabandt <c...@256bit.org>
Date: Sat Mar 14 17:10:21 2026 +0000

patch 9.2.0164: build error when XCLIPBOARD is not defined

Problem: build error when XCLIPBOARD is not defined
(Tony Mechelynck, after v9.2.0158)
Solution: Update ifdefs

related: #19676

Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/src/drawline.c b/src/drawline.c
index b3f6560a2..b4366c794 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1462,8 +1462,11 @@ win_line(
area_highlighting = TRUE;
vi_attr = HL_ATTR(HLF_V);
#if defined(FEAT_CLIPBOARD) && defined(FEAT_X11)
- if (xterm_dpy
- && ((clip_star.available && !clip_star.owned
+ if (
+# ifdef FEAT_XCLIPBOARD
+ xterm_dpy &&
+# endif
+ ((clip_star.available && !clip_star.owned
&& clip_isautosel_star())
|| (clip_plus.available && !clip_plus.owned
&& clip_isautosel_plus())))
diff --git a/src/version.c b/src/version.c
index 44ff46374..67f31cfba 100644
--- a/src/version.c
+++ b/src/version.c
@@ -734,6 +734,8 @@ static char *(features[]) =

static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 164,
/**/
163,
/**/

Tony Mechelynck

unread,
Mar 14, 2026, 5:24:36 PM (9 days ago) Mar 14
to vim...@googlegroups.com
On Sat, Mar 14, 2026 at 6:46 PM Christian Brabandt <cbl...@256bit.org> wrote:
>
> patch 9.2.0164: build error when XCLIPBOARD is not defined
>
> Commit: https://github.com/vim/vim/commit/ef3cee793f6f277d03e2132236d8a6887ebd064f
> Author: Christian Brabandt <c...@256bit.org>
> Date: Sat Mar 14 17:10:21 2026 +0000
>
> patch 9.2.0164: build error when XCLIPBOARD is not defined
>
> Problem: build error when XCLIPBOARD is not defined
> (Tony Mechelynck, after v9.2.0158)
> Solution: Update ifdefs
>
> related: #19676
>
> Signed-off-by: Christian Brabandt <c...@256bit.org>
[...]

Thanks, now my Tiny build with Motif GUI builds again.

Best regards,
Tony.
Reply all
Reply to author
Forward
0 new messages