mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-03-19 00:21:40 +00:00
extra/mesa to 17.2.3-1
This commit is contained in:
parent
0047b91746
commit
425a466b98
2 changed files with 4 additions and 23 deletions
|
@ -7,7 +7,7 @@
|
|||
|
||||
pkgbase=mesa
|
||||
pkgname=('mesa' 'libva-mesa-driver')
|
||||
pkgver=17.2.2
|
||||
pkgver=17.2.3
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
makedepends=('python2-mako' 'libxml2' 'libx11' 'glproto' 'libdrm' 'dri2proto' 'dri3proto' 'presentproto'
|
||||
|
@ -17,13 +17,11 @@ url="https://www.mesa3d.org/"
|
|||
license=('custom')
|
||||
source=(https://mesa.freedesktop.org/archive/mesa-${pkgver}.tar.xz{,.sig}
|
||||
LICENSE
|
||||
0002-glvnd-fix-gl-dot-pc.patch
|
||||
swr-rast-do-not-crash-on-NULL-strings-returned-by-getenv.patch)
|
||||
sha256sums=('cf522244d6a5a1ecde3fc00e7c96935253fe22f808f064cab98be6f3faa65782'
|
||||
0002-glvnd-fix-gl-dot-pc.patch)
|
||||
sha256sums=('a0b0ec8f7b24dd044d7ab30a8c7e6d3767521e245f88d4ed5dd93315dc56f837'
|
||||
'SKIP'
|
||||
'7fdc119cf53c8ca65396ea73f6d10af641ba41ea1dd2bd44a824726e01c8b3f2'
|
||||
'64a77944a28026b066c1682c7258d02289d257b24b6f173a9f7580c48beed966'
|
||||
'2dcbd3b311b18e473000fb496a93a4a7a4ae9f9413aace209c0ea4aebbba715b')
|
||||
'64a77944a28026b066c1682c7258d02289d257b24b6f173a9f7580c48beed966')
|
||||
validpgpkeys=('8703B6700E7EE06D7A39B8D6EDAE37B02CEB490D') # Emil Velikov <emil.l.velikov@gmail.com>
|
||||
validpgpkeys+=('946D09B5E4C9845E63075FF1D961C596A7203456') # Andres Gomez <tanty@igalia.com>
|
||||
validpgpkeys+=('E3E8F480C52ADD73B278EE78E1ECBE07D7D70895') # Juan Antonio Suárez Romero (Igalia, S.L.) <jasuarez@igalia.com>"
|
||||
|
@ -35,9 +33,6 @@ prepare() {
|
|||
# non-upstreamed ones
|
||||
patch -Np1 -i ../0002-glvnd-fix-gl-dot-pc.patch
|
||||
|
||||
# swr driver
|
||||
patch -Np1 -i ../swr-rast-do-not-crash-on-NULL-strings-returned-by-getenv.patch
|
||||
|
||||
autoreconf -fiv
|
||||
}
|
||||
|
||||
|
|
|
@ -1,14 +0,0 @@
|
|||
diff --git a/src/gallium/drivers/swr/rasterizer/core/utils.h b/src/gallium/drivers/swr/rasterizer/core/utils.h
|
||||
index b096d2120cb..3c849e82d3b 100644
|
||||
--- a/src/gallium/drivers/swr/rasterizer/core/utils.h
|
||||
+++ b/src/gallium/drivers/swr/rasterizer/core/utils.h
|
||||
@@ -365,7 +365,8 @@ static INLINE std::string GetEnv(const std::string& variableName)
|
||||
output.resize(valueSize - 1); // valueSize includes null, output.resize() does not
|
||||
GetEnvironmentVariableA(variableName.c_str(), &output[0], valueSize);
|
||||
#else
|
||||
- output = getenv(variableName.c_str());
|
||||
+ char *o = getenv(variableName.c_str());
|
||||
+ output = o ? std::string(o) : std::string();
|
||||
#endif
|
||||
|
||||
return output;
|
Loading…
Reference in a new issue