The attached patch fixes the dri_util build failure:

../../../../../../lib/GL/dri/dri_util.c:1322: `PFNGLXGETMSCRATEOMLPROC' 
undeclared (first use in this function)

Removing the explict inclusion of inttypes.h means that some of the 
includes need to be reordered. 

PFNGLXGETMSCRATEOMLPROC is defined in xc/extras/Mesa/include/GL/glxext.h

Feel free to use a different reordering;
I've only tested this on RedHat 6.2

-- 
Dr. Andrew C. Aitchison         Computer Officer, DPMMS, Cambridge
[EMAIL PROTECTED]       http://www.dpmms.cam.ac.uk/~werdna

Index: xc/lib/GL/dri/dri_util.c
===================================================================
RCS file: /home/CVS/XFree86/xc/lib/GL/dri/dri_util.c,v
retrieving revision 1.11
diff -u -r1.11 dri_util.c
--- xc/lib/GL/dri/dri_util.c    2003/11/13 17:22:49     1.11
+++ xc/lib/GL/dri/dri_util.c    2003/11/14 09:24:35
@@ -25,10 +25,10 @@
 #include <Xext.h>
 #include <extutil.h>
 #include <stdio.h>
+#include "dri_util.h"
 #include "glxclient.h"
 #include "xf86dri.h"
 #include "sarea.h"
-#include "dri_util.h"
 
 
 /* forward declarations */

Reply via email to