Fix for dri_util.o

2003-11-14 Thread Dr Andrew C Aitchison

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.c2003/11/13 17:22:49 1.11
+++ xc/lib/GL/dri/dri_util.c2003/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 */


Re: Fix for dri_util.o

2003-11-14 Thread Marc Aurele La France
On Fri, 14 Nov 2003, Dr Andrew C Aitchison wrote:

 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

Yes, I'm aware there are still problems with this (even with your patch).
I'll be fixing them shortly.

Marc.

+--+---+
|  Marc Aurele La France   |  work:   1-780-492-9310   |
|  Computing and Network Services  |  fax:1-780-492-1729   |
|  352 General Services Building   |  email:  [EMAIL PROTECTED]  |
|  University of Alberta   +---+
|  Edmonton, Alberta   |   |
|  T6G 2H1 | Standard disclaimers apply|
|  CANADA  |   |
+--+---+
XFree86 Core Team member.  ATI driver and X server internals.

___
Devel mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/devel