Dieter Nützel wrote:

quake3-smp do NOT work anylonger.

Could you try these two patches? They *should* fix the crash you're seeing.

? src/mesa/glapi/gl_XML.pyc
? src/mesa/glapi/license.pyc
Index: src/mesa/glapi/gl_x86_asm.py
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/glapi/gl_x86_asm.py,v
retrieving revision 1.2
diff -u -d -r1.2 gl_x86_asm.py
--- src/mesa/glapi/gl_x86_asm.py        29 Jun 2004 19:08:20 -0000      1.2
+++ src/mesa/glapi/gl_x86_asm.py        1 Jul 2004 16:50:46 -0000
@@ -77,6 +77,10 @@
                print '#define GLOBL_FN(x) GLOBL x'
                print '#endif'
                print ''
+               print '#if defined(PTHREADS) || defined(XTHREADS) || 
defined(SOLARIS_THREADS) || defined(WIN32_THREADS) || defined(BEOS_THREADS)'
+               print '#  define THREADS'
+               print '#endif'
+               print ''
                print '#if defined(PTHREADS)'
                print '#  define GL_STUB(fn,off,fn_alt)\t\t\t\\'
                print 'ALIGNTEXT16;\t\t\t\t\t\t\\'
Index: src/mesa/x86/glapi_x86.S
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/x86/glapi_x86.S,v
retrieving revision 1.37
diff -u -d -r1.37 glapi_x86.S
--- src/mesa/x86/glapi_x86.S    29 Jun 2004 19:08:20 -0000      1.37
+++ src/mesa/x86/glapi_x86.S    1 Jul 2004 16:50:47 -0000
@@ -47,6 +47,10 @@
 #define GLOBL_FN(x) GLOBL x
 #endif
 
+#if defined(PTHREADS) || defined(XTHREADS) || defined(SOLARIS_THREADS) || 
defined(WIN32_THREADS) || defined(BEOS_THREADS)
+#  define THREADS
+#endif
+
 #if defined(PTHREADS)
 #  define GL_STUB(fn,off,fn_alt)                       \
 ALIGNTEXT16;                                           \
Index: lib/GL/glx/Imakefile
===================================================================
RCS file: /cvs/dri/xc/xc/lib/GL/glx/Imakefile,v
retrieving revision 1.25
diff -u -d -r1.25 Imakefile
--- lib/GL/glx/Imakefile        17 Jun 2004 21:23:05 -0000      1.25
+++ lib/GL/glx/Imakefile        1 Jul 2004 16:50:33 -0000
@@ -135,7 +135,7 @@
 
          SRCS = $(GLX_SRCS) $(ASM_SRCS) $(DRI_SRCS)
          OBJS = $(GLX_OBJS) $(ASM_OBJS) $(DRI_OBJS)
-      DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES)
+      DEFINES = $(GLX_DEFS) $(ASM_DEFS) $(XMESA_DEFINES) $(THREADS_DEFINES)
 
      INCLUDES = -I$(XINCLUDESRC) \
                -I$(MESASRCDIR)/include \

Reply via email to