Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Mesa update



On 2019-04-18, coypu%sdf.org@localhost wrote:
> LD_PRELOAD=/usr/lib/libpthread.so fixes it.
> It's the libc stubs. I don't know what to link against libpthread but
> pkgsrc is cheating by having glmark2 linked with libpthread.

Thank you for updating Mesa, it is much appreciated. SDL2 applications
which load libGL.so seem to fail due to missing symbols, I had to add
some dependencies as below. Is this correct?

-- 
Kind regards,

Yorick Hardy

Index: external/mit/xorg/lib/Makefile
===================================================================
RCS file: /cvsroot/src/external/mit/xorg/lib/Makefile,v
retrieving revision 1.49
diff -u -u -r1.49 Makefile
--- external/mit/xorg/lib/Makefile	16 Apr 2019 21:20:51 -0000	1.49
+++ external/mit/xorg/lib/Makefile	22 Apr 2019 06:43:24 -0000
@@ -20,10 +20,12 @@
 .endif
 SUBDIR+=libxcb \
 	.WAIT
+SUBDIR+=libX11 \
+	.WAIT
 .if !defined(MLIBDIR)
 SUBDIR+=${EXTRA_DRI_DIRS} dri${OLD_PREFIX} gallium${OLD_PREFIX}
 .endif
-SUBDIR+=fontconfig libSM libX11 \
+SUBDIR+=fontconfig libSM \
 	.WAIT \
 	libXcomposite libXdamage libXext libXfixes libXt \
 	libxkbfile libepoxy \
Index: external/mit/xorg/lib/gallium/Makefile
===================================================================
RCS file: /cvsroot/src/external/mit/xorg/lib/gallium/Makefile,v
retrieving revision 1.25
diff -u -u -r1.25 Makefile
--- external/mit/xorg/lib/gallium/Makefile	16 Apr 2019 17:29:09 -0000	1.25
+++ external/mit/xorg/lib/gallium/Makefile	22 Apr 2019 06:43:24 -0000
@@ -957,6 +957,9 @@
 LIBDPLIBS+=	terminfo	${.CURDIR}/../../../../../lib/libterminfo
 LIBDPLIBS+=	z		${.CURDIR}/../../../../../lib/libz
 LIBDPLIBS+=	execinfo	${.CURDIR}/../../../../../lib/libexecinfo
+LIBDPLIBS+=	xcb		${.CURDIR}/../libxcb/libxcb
+LIBDPLIBS+=	xcb-dri2	${.CURDIR}/../libxcb/dri2
+LIBDPLIBS+=	X11-xcb		${.CURDIR}/../libX11/libX11-xcb
 
 # gallium drivers requiring LLVM
 .if ${BUILD_LLVMPIPE} == 1 || ${BUILD_RADEON} == 1


Home | Main Index | Thread Index | Old Index