Fix GLX initialization with 1.20
This commit is contained in:
parent
291b89b641
commit
19607f99f9
@ -1,7 +1,6 @@
|
|||||||
diff --git a/unix/xserver/hw/vnc/xorg-version.h b/unix/xserver/hw/vnc/xorg-version.h
|
diff -up tigervnc-1.8.0/unix/xserver/hw/vnc/xorg-version.h.jx tigervnc-1.8.0/unix/xserver/hw/vnc/xorg-version.h
|
||||||
index 9d1c0eb..79ff79a 100644
|
--- tigervnc-1.8.0/unix/xserver/hw/vnc/xorg-version.h.jx 2017-05-16 09:53:28.000000000 -0400
|
||||||
--- a/unix/xserver/hw/vnc/xorg-version.h
|
+++ tigervnc-1.8.0/unix/xserver/hw/vnc/xorg-version.h 2018-06-06 15:42:07.388157181 -0400
|
||||||
+++ b/unix/xserver/hw/vnc/xorg-version.h
|
|
||||||
@@ -52,8 +52,10 @@
|
@@ -52,8 +52,10 @@
|
||||||
#define XORG 118
|
#define XORG 118
|
||||||
#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (19 * 100000) + (99 * 1000))
|
#elif XORG_VERSION_CURRENT < ((1 * 10000000) + (19 * 100000) + (99 * 1000))
|
||||||
@ -14,10 +13,9 @@ index 9d1c0eb..79ff79a 100644
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
diff --git a/unix/xserver/hw/vnc/xvnc.c b/unix/xserver/hw/vnc/xvnc.c
|
diff -up tigervnc-1.8.0/unix/xserver/hw/vnc/xvnc.c.jx tigervnc-1.8.0/unix/xserver/hw/vnc/xvnc.c
|
||||||
index 93d8af4..1517809 100644
|
--- tigervnc-1.8.0/unix/xserver/hw/vnc/xvnc.c.jx 2017-05-16 09:53:28.000000000 -0400
|
||||||
--- a/unix/xserver/hw/vnc/xvnc.c
|
+++ tigervnc-1.8.0/unix/xserver/hw/vnc/xvnc.c 2018-06-06 15:42:58.384936550 -0400
|
||||||
+++ b/unix/xserver/hw/vnc/xvnc.c
|
|
||||||
@@ -202,6 +202,7 @@ vfbBitsPerPixel(int depth)
|
@@ -202,6 +202,7 @@ vfbBitsPerPixel(int depth)
|
||||||
|
|
||||||
static void vfbFreeFramebufferMemory(vfbFramebufferInfoPtr pfb);
|
static void vfbFreeFramebufferMemory(vfbFramebufferInfoPtr pfb);
|
||||||
@ -34,7 +32,7 @@ index 93d8af4..1517809 100644
|
|||||||
|
|
||||||
#if XORG < 111
|
#if XORG < 111
|
||||||
void ddxGiveUp()
|
void ddxGiveUp()
|
||||||
@@ -1491,6 +1491,12 @@ vfbCloseScreen(ScreenPtr pScreen)
|
@@ -1491,6 +1493,12 @@ vfbCloseScreen(ScreenPtr pScreen)
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -47,7 +45,7 @@ index 93d8af4..1517809 100644
|
|||||||
static Bool
|
static Bool
|
||||||
#if XORG < 113
|
#if XORG < 113
|
||||||
vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)
|
vfbScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)
|
||||||
@@ -1661,6 +1667,9 @@ vfbScreenInit(ScreenPtr pScreen, int arg
|
@@ -1661,6 +1669,9 @@ vfbScreenInit(ScreenPtr pScreen, int arg
|
||||||
if (!ret) return FALSE;
|
if (!ret) return FALSE;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
@ -56,3 +54,15 @@ index 93d8af4..1517809 100644
|
|||||||
+#endif
|
+#endif
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
@@ -1696,7 +1707,9 @@ InitOutput(ScreenInfo *scrInfo, int argc
|
||||||
|
|
||||||
|
vncPrintBanner();
|
||||||
|
|
||||||
|
-#if XORG >= 113
|
||||||
|
+#if XORG >= 120
|
||||||
|
+ xorgGlxCreateVendor();
|
||||||
|
+#elif XORG >= 113
|
||||||
|
#ifdef GLXEXT
|
||||||
|
if (serverGeneration == 1)
|
||||||
|
#if XORG >= 116
|
||||||
|
@ -1,6 +1,6 @@
|
|||||||
Name: tigervnc
|
Name: tigervnc
|
||||||
Version: 1.8.0
|
Version: 1.8.0
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Summary: A TigerVNC remote display system
|
Summary: A TigerVNC remote display system
|
||||||
|
|
||||||
%global _hardened_build 1
|
%global _hardened_build 1
|
||||||
@ -321,6 +321,9 @@ install -m 644 %{SOURCE3} %{buildroot}%{_sysconfdir}/X11/xorg.conf.d/10-libvnc.c
|
|||||||
%{_datadir}/icons/hicolor/*/apps/*
|
%{_datadir}/icons/hicolor/*/apps/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jun 06 2018 Adam Jackson <ajax@redhat.com> - 1.8.0-9
|
||||||
|
- Fix GLX initialization with 1.20
|
||||||
|
|
||||||
* Wed Apr 04 2018 Adam Jackson <ajax@redhat.com> - 1.8.0-8
|
* Wed Apr 04 2018 Adam Jackson <ajax@redhat.com> - 1.8.0-8
|
||||||
- Rebuild for xserver 1.20
|
- Rebuild for xserver 1.20
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user