Blame SOURCES/0001-xserver-add-no-op-input-thread-init-function.patch

cfbdf6
From 920d9c4d6562ecabf79497bc901d50522d4bc661 Mon Sep 17 00:00:00 2001
cfbdf6
From: Linus Heckemann <git@sphalerite.org>
cfbdf6
Date: Sat, 1 Feb 2020 11:08:26 +0100
cfbdf6
Subject: [PATCH] xserver: add no-op input thread init function
cfbdf6
cfbdf6
This allows Xvnc to build with xorg-server 1.20.7, which requires OS
cfbdf6
layers to implement a ddxInputThreadInit function when configured with
cfbdf6
--enable-input-thread (the default).
cfbdf6
cfbdf6
relevant xorg-server commit: e3f26605d85d987da434640f52646d728f1fe919
cfbdf6
---
cfbdf6
 unix/xserver/hw/vnc/Input.c | 9 +++++++++
cfbdf6
 1 file changed, 9 insertions(+)
cfbdf6
cfbdf6
diff --git a/unix/xserver/hw/vnc/Input.c b/unix/xserver/hw/vnc/Input.c
cfbdf6
index 534e435e..b342d4d6 100644
cfbdf6
--- a/unix/xserver/hw/vnc/Input.c
cfbdf6
+++ b/unix/xserver/hw/vnc/Input.c
cfbdf6
@@ -711,3 +711,12 @@ static void vncKeysymKeyboardEvent(KeySym keysym, int down)
cfbdf6
 	 */
cfbdf6
 	mieqProcessInputEvents();
cfbdf6
 }
cfbdf6
+
cfbdf6
+#if INPUTTHREAD
cfbdf6
+/** This function is called in Xserver/os/inputthread.c when starting
cfbdf6
+    the input thread. */
cfbdf6
+void
cfbdf6
+ddxInputThreadInit(void)
cfbdf6
+{
cfbdf6
+}
cfbdf6
+#endif
cfbdf6
-- 
cfbdf6
2.24.1
cfbdf6