diff options
author | Dejan Lesjak <lesi@FreeBSD.org> | 2006-06-04 17:47:03 +0000 |
---|---|---|
committer | Dejan Lesjak <lesi@FreeBSD.org> | 2006-06-04 17:47:03 +0000 |
commit | ee1d6dba74737524dfd1c4f7b31260e0f6d1a9d6 (patch) | |
tree | 2b61f1239e5c91566e1873a4eb4e96580bfe0c90 /x11-servers | |
parent | 7177ab168405ca72454bb27e278ec0e1f809644d (diff) |
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
Notes
Notes:
svn path=/head/; revision=164349
Diffstat (limited to 'x11-servers')
-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, |