Module Name:    src
Committed By:   maya
Date:           Thu Apr 11 10:15:53 UTC 2019

Modified Files:
        src/external/mit/xorg/lib/libGL: Makefile

Log Message:
the drivers we dlopen need pthread.
I'm not sure about the exact scenario causing failure, but using the
libc pthread stubs isn't sufficient.

fixes one of the glmark2 crashes (at startup with llvmpipe)


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 src/external/mit/xorg/lib/libGL/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/external/mit/xorg/lib/libGL/Makefile
diff -u src/external/mit/xorg/lib/libGL/Makefile:1.24 src/external/mit/xorg/lib/libGL/Makefile:1.25
--- src/external/mit/xorg/lib/libGL/Makefile:1.24	Tue Apr  9 14:31:06 2019
+++ src/external/mit/xorg/lib/libGL/Makefile	Thu Apr 11 10:15:53 2019
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.24 2019/04/09 14:31:06 maya Exp $
+#	$NetBSD: Makefile,v 1.25 2019/04/11 10:15:53 maya Exp $
 
 .include <bsd.own.mk>
 
@@ -191,7 +191,8 @@ LIBDPLIBS=	Xext		${.CURDIR}/../libXext \
 		xcb-dri2	${.CURDIR}/../libxcb/dri2 \
 		xcb-glx		${.CURDIR}/../libxcb/glx \
 		expat		${NETBSDSRCDIR}/external/mit/expat/lib/libexpat \
-		m		${NETBSDSRCDIR}/lib/libm
+		m		${NETBSDSRCDIR}/lib/libm \
+		pthread		${NETBSDSRCDIR}/lib/libpthread
 
 MKLINT=no
 

Reply via email to