slackware-current/extra/source/tigervnc/patches/tigervnc11-xorg114.patch

25 lines
738 B
Diff
Raw Normal View History

--- xserver/hw/vnc/xorg-version.h Mon Feb 18 08:28:49 2013
+++ xserver/hw/vnc/xorg-version.h Mon Feb 18 08:28:43 2013
@@ -42,8 +42,10 @@
#define XORG 112
#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (13 * 100000) + (99 * 1000))
#define XORG 113
+#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (14 * 100000) + (99 * 1000))
+#define XORG 114
#else
-#error "X.Org newer than 1.10 is not supported"
+#error "X.Org newer than 1.14 is not supported"
#endif
#endif
--- xserver/hw/vnc/xvnc.cc Tue Feb 19 08:50:20 2013
+++ xserver/hw/vnc/xvnc.cc Tue Feb 19 08:50:27 2013
@@ -54,7 +54,6 @@
#include "servermd.h"
#include "fb.h"
#include "mi.h"
-#include "mibstore.h"
#include "colormapst.h"
#include "gcstruct.h"
#include "input.h"