forked from pool/tigervnc
Stefan Dirsch
2dbf2c023a
* fixes build against xorg-server 21.1 sources OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/tigervnc?expand=0&rev=216
12 lines
449 B
Diff
12 lines
449 B
Diff
--- ./unix/xserver/hw/vnc/xorg-version.h.orig 2021-10-28 13:58:20.309981257 +0200
|
|
+++ ./unix/xserver/hw/vnc/xorg-version.h 2021-10-28 13:59:33.179368585 +0200
|
|
@@ -54,6 +54,8 @@
|
|
#define XORG 119
|
|
#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (20 * 100000) + (99 * 1000))
|
|
#define XORG 120
|
|
+#elif XORG_VERSION_CURRENT < ((21 * 10000000) + (1 * 100000) + (99 * 1000))
|
|
+#define XORG 211
|
|
#else
|
|
#error "X.Org newer than 1.20 is not supported"
|
|
#endif
|