SHA256
1
0
forked from pool/tigervnc

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
This commit is contained in:
Michal Srb 2015-11-12 13:12:59 +00:00 committed by Git OBS Bridge
parent c4c5a22bfb
commit 68212fe828
3 changed files with 25 additions and 0 deletions

16
n_xserver118.patch Normal file
View File

@ -0,0 +1,16 @@
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

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Thu Nov 12 12:51:31 UTC 2015 - msrb@suse.com
- n_xserver118.patch
* Build with xserver 1.18.0, everything relevant for VNC is the
same as in 1.17.0.
-------------------------------------------------------------------
Thu Oct 1 23:16:52 UTC 2015 - msrb@suse.com

View File

@ -120,6 +120,7 @@ Patch10: u_tigervnc-add-autoaccept-parameter.patch
Patch11: N_tigervnc_revert_fltk_1_3_3_requirements.patch
Patch12: U_tigervnc-fix-reversed-logic-in-vncIsTCPPortUsed.patch
Patch13: u_tigervnc-vncserver-clean-pid-files.patch
Patch14: n_xserver118.patch
%description
TigerVNC is a high-performance, platform-neutral implementation of VNC (Virtual Network Computing),
@ -163,6 +164,7 @@ cp -r /usr/src/xserver/* unix/xserver/
%patch11 -p1
%patch12 -p1
%patch13 -p1
%patch14 -p1
pushd unix/xserver
patch -p1 < ../xserver117.patch