diff options
author | lesi <lesi@FreeBSD.org> | 2006-06-05 01:47:03 +0800 |
---|---|---|
committer | lesi <lesi@FreeBSD.org> | 2006-06-05 01:47:03 +0800 |
commit | bc8eb4ce4826f6e9f3d92f8fe3a3d1d896703e9a (patch) | |
tree | 8a91fdc7d2a7498d10ad3be7387f7012a6e009e3 /x11-servers/xorg-server | |
parent | cae97c9a39a512170a649f1ee02fa0fd5ff9a064 (diff) | |
download | freebsd-ports-gnome-bc8eb4ce4826f6e9f3d92f8fe3a3d1d896703e9a.tar.gz freebsd-ports-gnome-bc8eb4ce4826f6e9f3d92f8fe3a3d1d896703e9a.tar.zst freebsd-ports-gnome-bc8eb4ce4826f6e9f3d92f8fe3a3d1d896703e9a.zip |
Add a better workaround for LP64 bug in ProcRenderCompositeGlyphs() in
Xrender from XFree86 that takes endianess into account. This should fix
the following errors on FreeBSD/sparc64:
'RenderBadGlyphSet (invalid GlyphSet parameter)'.
(Details: serial 8980 error_code 178 request_code 153 minor_code 24)
Submitted by: marius
Diffstat (limited to 'x11-servers/xorg-server')
-rw-r--r-- | x11-servers/xorg-server/Makefile | 2 | ||||
-rw-r--r-- | x11-servers/xorg-server/files/patch-render.c | 11 |
2 files changed, 12 insertions, 1 deletions
diff --git a/x11-servers/xorg-server/Makefile b/x11-servers/xorg-server/Makefile index 7b6818824b85..8fe194ac06a6 100644 --- a/x11-servers/xorg-server/Makefile +++ b/x11-servers/xorg-server/Makefile @@ -7,7 +7,7 @@ PORTNAME= xorg-server PORTVERSION= 6.9.0 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= x11-servers MASTER_SITES= ${MASTER_SITE_XORG} MASTER_SITE_SUBDIR= X11R${PORTVERSION}/src diff --git a/x11-servers/xorg-server/files/patch-render.c b/x11-servers/xorg-server/files/patch-render.c new file mode 100644 index 000000000000..2bcd61775f36 --- /dev/null +++ b/x11-servers/xorg-server/files/patch-render.c @@ -0,0 +1,11 @@ +--- programs/Xserver/render/render.c.orig Mon May 29 09:43:15 2006 ++++ programs/Xserver/render/render.c Mon May 29 09:45:02 2006 +@@ -1340,7 +1340,7 @@ + { + if (buffer + sizeof (GlyphSet) < end) + { +- memcpy(&gs, buffer, sizeof(GlyphSet)); ++ gs = *(CARD32 *) buffer; + glyphSet = (GlyphSetPtr) SecurityLookupIDByType (client, + gs, + GlyphSetType, |