Mercurial > vanilla
changeset 436:04ed9ecf47d4
graphics/mesa: fix libGL.so
https://bugs.freedesktop.org/show_bug.cgi?id=35268
author | David Demelier <markand@malikania.fr> |
---|---|
date | Thu, 04 Apr 2019 20:48:38 +0200 |
parents | 4e1bf0dab3ea |
children | 81e8f2b26678 |
files | graphics/mesa/disable-tls.patch graphics/mesa/mesa.sh |
diffstat | 2 files changed, 11 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- /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')
--- 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" \