summaryrefslogtreecommitdiffstats
path: root/abs/extra/tigervnc/xorg118.patch
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2016-01-23 17:39:50 (GMT)
committerBritney Fransen <brfransen@gmail.com>2016-01-23 17:39:50 (GMT)
commita9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8 (patch)
tree4e25dfa1bbff34473a7f6d0df5d070a8a0c12a34 /abs/extra/tigervnc/xorg118.patch
parent193fd67c9e8cfbc4704f08655fa5bc61d5cbb457 (diff)
downloadlinhes_pkgbuild-a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8.zip
linhes_pkgbuild-a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8.tar.gz
linhes_pkgbuild-a9c0f93eebcd9a598ab934531cec5c0aa9c1bbf8.tar.bz2
tigervnc: update to 1.6.0
Diffstat (limited to 'abs/extra/tigervnc/xorg118.patch')
-rw-r--r--abs/extra/tigervnc/xorg118.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/abs/extra/tigervnc/xorg118.patch b/abs/extra/tigervnc/xorg118.patch
new file mode 100644
index 0000000..7484200
--- /dev/null
+++ b/abs/extra/tigervnc/xorg118.patch
@@ -0,0 +1,27 @@
+diff -wbBur tigervnc-1.5.0/unix/xserver/hw/vnc/Input.c tigervnc-1.5.0.q/unix/xserver/hw/vnc/Input.c
+--- tigervnc-1.5.0/unix/xserver/hw/vnc/Input.c 2015-07-11 16:00:36.000000000 +0300
++++ tigervnc-1.5.0.q/unix/xserver/hw/vnc/Input.c 2015-11-25 19:04:24.278747038 +0300
+@@ -300,6 +300,8 @@
+ #if XORG < 111
+ n = GetKeyboardEvents(eventq, dev, action, kc);
+ enqueueEvents(dev, n);
++#elif XORG > 117
++ QueueKeyboardEvents(dev, action, kc);
+ #else
+ QueueKeyboardEvents(dev, action, kc, NULL);
+ #endif
+diff -wbBur tigervnc-1.5.0/unix/xserver/hw/vnc/xorg-version.h tigervnc-1.5.0.q/unix/xserver/hw/vnc/xorg-version.h
+--- tigervnc-1.5.0/unix/xserver/hw/vnc/xorg-version.h 2015-07-11 16:00:36.000000000 +0300
++++ tigervnc-1.5.0.q/unix/xserver/hw/vnc/xorg-version.h 2015-11-25 19:02:47.688751421 +0300
+@@ -48,8 +48,10 @@
+ #define XORG 116
+ #elif XORG_VERSION_CURRENT < ((1 * 10000000) + (17 * 100000) + (99 * 1000))
+ #define XORG 117
++#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (18 * 100000) + (99 * 1000))
++#define XORG 118
+ #else
+-#error "X.Org newer than 1.17 is not supported"
++#error "X.Org newer than 1.18 is not supported"
+ #endif
+
+ #endif