aboutsummaryrefslogtreecommitdiffstats
path: root/x11-servers/xorg-server
diff options
context:
space:
mode:
authorlesi <lesi@FreeBSD.org>2006-06-05 01:47:03 +0800
committerlesi <lesi@FreeBSD.org>2006-06-05 01:47:03 +0800
commitbc8eb4ce4826f6e9f3d92f8fe3a3d1d896703e9a (patch)
tree8a91fdc7d2a7498d10ad3be7387f7012a6e009e3 /x11-servers/xorg-server
parentcae97c9a39a512170a649f1ee02fa0fd5ff9a064 (diff)
downloadfreebsd-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/Makefile2
-rw-r--r--x11-servers/xorg-server/files/patch-render.c11
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,