# HG changeset patch # User David Demelier # Date 1554403718 -7200 # Node ID 04ed9ecf47d4ff373f7f2c44b68d21b04961cee0 # Parent 4e1bf0dab3ead38cd3f762a01fc780f6533d9a8e graphics/mesa: fix libGL.so https://bugs.freedesktop.org/show_bug.cgi?id=35268 diff -r 4e1bf0dab3ea -r 04ed9ecf47d4 graphics/mesa/disable-tls.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/graphics/mesa/disable-tls.patch Thu Apr 04 20:48:38 2019 +0200 @@ -0,0 +1,10 @@ +--- meson.build.orig 2019-04-04 20:35:20.833929949 +0200 ++++ meson.build 2019-04-04 20:35:25.313806744 +0200 +@@ -343,7 +343,6 @@ + endif + endif + +-pre_args += '-DGLX_USE_TLS' + if with_glx != 'disabled' + if not (with_platform_x11 and with_any_opengl) + error('Cannot build GLX support without X11 platform support and at least one OpenGL API') diff -r 4e1bf0dab3ea -r 04ed9ecf47d4 graphics/mesa/mesa.sh --- a/graphics/mesa/mesa.sh Thu Apr 04 20:45:40 2019 +0200 +++ b/graphics/mesa/mesa.sh Thu Apr 04 20:48:38 2019 +0200 @@ -70,6 +70,7 @@ tar xvaf $PKGNAME-$PKGVERSION.tar.xz pushd $PKGNAME-$PKGVERSION + patch -p0 < ../disable-tls.patch # https://git.alpinelinux.org/aports/plain/main/mesa/musl-fix-includes.patch patch -p1 < ../musl.patch CC="$CC" \