--- a/open-src/xserver/xorg/patch-list Thu May 21 15:12:11 2009 -0700
+++ b/open-src/xserver/xorg/patch-list Thu May 21 16:41:26 2009 -0700
@@ -37,4 +37,4 @@
6721634.patch
xpstubs.patch
dixmods-deps.patch
-
+sparc-initvisuals.patch
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/open-src/xserver/xorg/sparc-initvisuals.patch Thu May 21 16:41:26 2009 -0700
@@ -0,0 +1,29 @@
+diff -ur mi/micmap.c.orig mi/micmap.c
+--- mi/micmap.c.orig Thu May 21 21:55:01 2009
++++ mi/micmap.c Thu May 21 21:58:03 2009
+@@ -497,6 +497,11 @@
+ * the set which can be used with this version of cfb.
+ */
+
++#if defined(__sparc__) || defined(__sparc)
++miInitVisualsProcPtr miInitVisualsProc = NULL;
++#endif /* __sparc__ */
++
++
+ _X_EXPORT Bool
+ miInitVisuals(VisualPtr *visualp, DepthPtr *depthp, int *nvisualp,
+ int *ndepthp, int *rootDepthp, VisualID *defaultVisp,
+@@ -516,6 +521,13 @@
+ int *preferredCVCs, *prefp;
+ int first_depth;
+
++#if defined(__sparc__) || defined(__sparc)
++ if (miInitVisualsProc) {
++ return (miInitVisualsProc(visualp, depthp, nvisualp, ndepthp,
++ rootDepthp, defaultVisp, sizes, bitsPerRGB, preferredVis));
++ }
++#endif /* __sparc__ */
++
+ /* none specified, we'll guess from pixmap formats */
+ if (!miVisuals)
+ {