mesa: fix build with upstream patch (#23302)

This commit is contained in:
Gregory Lee 2021-04-28 09:22:00 -07:00 committed by GitHub
parent d5b3d075d2
commit b510464f04
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -92,6 +92,9 @@ class Mesa(MesonPackage):
# OpenGL ES requires OpenGL
conflicts('~opengl +opengles')
# requires native to be added to llvm_modules when using gallium swrast
patch('https://cgit.freedesktop.org/mesa/mesa/patch/meson.build?id=054dd668a69acc70d47c73abe4646e96a1f23577', sha256='36096a178070e40217945e12d542dfe80016cb897284a01114d616656c577d73', when='@21.0.0:21.0.3')
# 'auto' needed when shared llvm is built
@when('^llvm~shared_libs')
def patch(self):