mesa: update to 19.2.7.

This commit is contained in:
Juan RP 2019-12-07 23:42:39 +01:00
parent 1720655f83
commit f980aaa2fa
2 changed files with 4 additions and 40 deletions

View file

@ -1,36 +0,0 @@
From 3d5f51f75823620b673b939e6bc5febd66ba83e0 Mon Sep 17 00:00:00 2001
From: Kevin Daudt <me@ikke.info>
Date: Wed, 20 Nov 2019 22:03:57 +0000
Subject: [PATCH] gallium: fix broken if-macro for PIPE_ARCH_LITTLE_ENDIAN
[ae071434e][0] is a commit that was backported from master in 19.2.
That commit also copied logic from [f9f60da81][1], which causes a
compilation failure on ppc64le because the macro itself was not changed
as well.
Change the `#if` to an `#ifdef` to fix this issue.
Fixes #2131
[0]:https://gitlab.freedesktop.org/mesa/mesa/commit/ae071434e918586ab88a6533cd4a3b3f3dbd5a1f
[1]:https://gitlab.freedesktop.org/mesa/mesa/commit/f9f60da813e69aacf541d25a24622c896f15ba98
---
src/gallium/auxiliary/gallivm/lp_bld_misc.cpp | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp b/src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
index 1a47bab7e47..e05c9064990 100644
--- src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
+++ src/gallium/auxiliary/gallivm/lp_bld_misc.cpp
@@ -705,7 +705,7 @@ lp_build_create_jit_compiler_for_module(LLVMExecutionEngineRef *OutJIT,
*/
builder.setCodeModel(CodeModel::Large);
-#if PIPE_ARCH_LITTLE_ENDIAN
+#ifdef PIPE_ARCH_LITTLE_ENDIAN
/*
* Versions of LLVM prior to 4.0 lacked a table entry for "POWER8NVL",
* resulting in (big-endian) "generic" being returned on
--
2.22.0

View file

@ -1,7 +1,7 @@
# Template file for 'mesa'
pkgname=mesa
version=19.2.5
revision=2
version=19.2.7
revision=1
wrksrc="mesa-${version}"
build_style=meson
configure_args="-Dglvnd=true -Dshared-glapi=true -Dgbm=true -Degl=true
@ -18,12 +18,12 @@ makedepends="elfutils-devel expat-devel libXdamage-devel libXvMC-devel
libsensors-devel libXrandr-devel libglvnd-devel"
depends="libglvnd"
short_desc="Graphics library similar to SGI's OpenGL"
maintainer="Orphaned <orphan@voidlinux.org>"
maintainer="Juan RP <xtraeme@gmail.com>"
license="MIT, LGPL-2.1-or-later"
homepage="https://www.mesa3d.org/"
changelog="https://www.mesa3d.org/relnotes/${version}.html"
distfiles="https://mesa.freedesktop.org/archive/mesa-${version}.tar.xz"
checksum=3d010a366b28d10bdd71e32091d8684baf1522e6466c5c5703667091b2108c8b
checksum=e3799fb7896fd9ed2f90f651fb907b95cdebfbd494968ff116e6bf1be143579e
build_options="wayland"
build_options_default="wayland"