summaryrefslogtreecommitdiff
path: root/extra/mesa/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/mesa/PKGBUILD')
-rw-r--r--extra/mesa/PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
index 20eb465f3..391b80fe0 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 171458 2012-11-17 21:07:48Z andyrtr $
+# $Id: PKGBUILD 175899 2013-01-23 16:58:37Z andyrtr $
# Maintainer: Jan de Groot <jgc@archlinux.org>
# Maintainer: Andreas Radke <andyrtr@archlinux.org>
@@ -13,17 +13,17 @@ _git=false
if [ "${_git}" = "true" ]; then
pkgver=8.99.git_$_gitdate
else
- pkgver=9.0.1
+ pkgver=9.0.2
fi
pkgrel=1
arch=('i686' 'x86_64' 'mips64el')
makedepends=('glproto>=1.4.16' 'libdrm>=2.4.39' 'libxxf86vm>=1.1.2' 'libxdamage>=1.1.3' 'expat>=2.1.0' 'libx11>=1.5.0' 'libxt>=1.1.3'
'gcc-libs>=4.7.1-6' 'dri2proto>=2.8' 'python2' 'libxml2' 'imake' 'systemd')
-[[ "$CARCH" != "mips64el" ]] && makedepends+=('llvm' 'libvdpau>=0.5')
+[[ "$CARCH" != "mips64el" ]] && makedepends+=('llvm-amdgpu-snapshot' 'libvdpau>=0.5')
url="http://mesa3d.sourceforge.net"
license=('custom')
options=('!libtool')
-source=(LICENSE)
+source=(LICENSE llvm32.patch)
if [ "${_git}" = "true" ]; then
# mesa git shot from 9.0 branch - see for state: http://cgit.freedesktop.org/mesa/mesa/log/?h=9.0
#source=(${source[@]} 'ftp://ftp.archlinux.org/other/mesa/mesa-41d14eaf193c6b1eb87fe1998808a887f1c6c698.tar.gz')
@@ -34,12 +34,11 @@ if [ "${_git}" = "true" ]; then
)
fi
source+=(mesa-loongson.patch)
-md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
- '97d6554c05ea7449398afe3a0ede7018'
- '598c24dccfcdcc99c07d883f7c09f36a')
build() {
cd ${srcdir}/?esa-*
+
+ patch -Np1 -i ${srcdir}/llvm32.patch
if [ "$CARCH" = "mips64el" ]; then
extraconf="--with-gallium-drivers=swrast --with-dri-drivers=swrast --disable-gallium-llvm --disable-vdpau"
@@ -88,6 +87,9 @@ if [ "${_git}" = "true" ]; then
$COMMONOPTS
fi
+ # fix a build break with new llvm
+ sed -i "s:-Werror=implicit-function-declaration::" src/gallium/drivers/r600/Makefile
+
make
}