1
0

- Update xorg-server-xf4vnc-fixes_1_9.diff:

Fix Xvnc rendering issues.
- Enable build of Xvnc again.

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xorg-x11-server?expand=0&rev=328
This commit is contained in:
Matthias Hopf 2011-02-11 16:44:11 +00:00 committed by Git OBS Bridge
parent e80e0ca733
commit 26f4a1f267
3 changed files with 10 additions and 3 deletions

View File

@ -108,7 +108,7 @@ Index: xorg-server-1.9.2/hw/vnc/sprite.c
VisualPtr pVisual;
- if (!dixRequestPrivate(rfbSpriteGCKey, sizeof(rfbSpriteGCRec)))
+ if (!dixRegisterPrivateKey(rfbSpriteGCKey, PRIVATE_CLIENT, sizeof(rfbSpriteGCRec)))
+ if (!dixRegisterPrivateKey(rfbSpriteGCKey, PRIVATE_GC, sizeof(rfbSpriteGCRec)))
return FALSE;
pPriv = (rfbSpriteScreenPtr) xalloc (sizeof (rfbSpriteScreenRec));
@ -483,7 +483,7 @@ Index: xorg-server-1.9.2/hw/vnc/vncext.c
// no allocation needed for screen privates
- if (!dixRequestPrivate(rfbGCKey, sizeof(rfbGCRec)))
+ if (!dixRegisterPrivateKey(rfbGCKey, PRIVATE_CLIENT, sizeof(rfbGCRec)))
+ if (!dixRegisterPrivateKey(rfbGCKey, PRIVATE_GC, sizeof(rfbGCRec)))
return;
#if XFREE86VNC

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Fri Feb 11 16:41:02 UTC 2011 - mhopf@novell.com
- Update xorg-server-xf4vnc-fixes_1_9.diff:
Fix Xvnc rendering issues.
- Enable build of Xvnc again.
-------------------------------------------------------------------
Thu Feb 3 17:36:16 UTC 2011 - sndirsch@novell.com

View File

@ -21,7 +21,7 @@
Name: xorg-x11-server
%define dirsuffix 1.9.3
%define vnc 0
%define vnc 1
BuildRequires: Mesa-devel bison flex fontconfig-devel freetype2-devel ghostscript-library libdrm-devel libopenssl-devel pkgconfig xorg-x11 xorg-x11-devel xorg-x11-fonts-devel xorg-x11-libICE-devel xorg-x11-libSM-devel xorg-x11-libX11-devel xorg-x11-libXau-devel xorg-x11-libXdmcp-devel xorg-x11-libXext-devel xorg-x11-libXfixes-devel xorg-x11-libXmu-devel xorg-x11-libXp-devel xorg-x11-libXpm-devel xorg-x11-libXprintUtil-devel xorg-x11-libXrender-devel xorg-x11-libXt-devel xorg-x11-libXv-devel xorg-x11-libfontenc-devel xorg-x11-libxkbfile-devel xorg-x11-proto-devel xorg-x11-xtrans-devel
### udev support (broken on openSUSE 11.2, see also bnc #589997)
%if %suse_version > 1120