tigervnc/n_xserver118.patch
Michal Srb 68212fe828 Accepting request 344033 from home:michalsrb:branches:X11:XOrg
- n_xserver118.patch
  * Build with xserver 1.18.0, everything relevant for VNC is the
    same as in 1.17.0.

OBS-URL: https://build.opensuse.org/request/show/344033
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=74
2015-11-12 13:12:59 +00:00

17 lines
547 B
Diff

diff --git a/unix/xserver/hw/vnc/xorg-version.h b/unix/xserver/hw/vnc/xorg-version.h
index 8cc1c86..60610cb 100644
--- a/unix/xserver/hw/vnc/xorg-version.h
+++ b/unix/xserver/hw/vnc/xorg-version.h
@@ -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