fbf5f24
From 6d9585ba6a5784328de479c6b648d7b7d6cec64c Mon Sep 17 00:00:00 2001
3a9f73d
From: Adam Jackson <ajax@redhat.com>
3a9f73d
Date: Thu, 29 Oct 2009 19:04:10 -0400
3a9f73d
Subject: [PATCH] multilib fix for -devel subpackage
3a9f73d
3a9f73d
---
fbf5f24
 include/colormapst.h     |    4 ++--
fbf5f24
 include/xorg-server.h.in |    7 ++++---
fbf5f24
 2 files changed, 6 insertions(+), 5 deletions(-)
3a9f73d
3a9f73d
diff --git a/include/colormapst.h b/include/colormapst.h
fbf5f24
index f1fc8eb..274cd65 100644
3a9f73d
--- a/include/colormapst.h
3a9f73d
+++ b/include/colormapst.h
fbf5f24
@@ -103,12 +103,12 @@ typedef struct _ColormapRec
3a9f73d
 {
3a9f73d
     VisualPtr	pVisual;
3a9f73d
     short	class;		/* PseudoColor or DirectColor */
3a9f73d
-#if defined(_XSERVER64)
fbf5f24
+#ifdef __LP64__
3a9f73d
     short	pad0;
3a9f73d
     XID		pad1;
3a9f73d
 #endif
3a9f73d
     XID		mid;		/* client's name for colormap */
3a9f73d
-#if defined(_XSERVER64) && (X_BYTE_ORDER == X_LITTLE_ENDIAN)
fbf5f24
+#if defined(__LP64__) && (X_BYTE_ORDER == X_LITTLE_ENDIAN)
3a9f73d
     XID		pad2;
3a9f73d
 #endif
3a9f73d
     ScreenPtr	pScreen;	/* screen map is associated with */
3a9f73d
diff --git a/include/xorg-server.h.in b/include/xorg-server.h.in
fbf5f24
index 76cab16..081b8f3 100644
3a9f73d
--- a/include/xorg-server.h.in
3a9f73d
+++ b/include/xorg-server.h.in
3a9f73d
@@ -157,9 +157,6 @@
3a9f73d
 /* Name of X server */
3a9f73d
 #undef __XSERVERNAME__
3a9f73d
 
3a9f73d
-/* Define to 1 if unsigned long is 64 bits. */
3a9f73d
-#undef _XSERVER64
3a9f73d
-
3a9f73d
 /* Building vgahw module */
3a9f73d
 #undef WITH_VGAHW
3a9f73d
 
fbf5f24
@@ -187,4 +184,8 @@
fbf5f24
 /* X Access Control Extension */
fbf5f24
 #undef XACE
fbf5f24
 
fbf5f24
+#ifdef __LP64__
03d2d55
+#define _XSERVER64 1
fbf5f24
+#endif
fbf5f24
+
fbf5f24
 #endif /* _XORG_SERVER_H_ */
3a9f73d
-- 
fbf5f24
1.6.5.2
3a9f73d