summaryrefslogtreecommitdiff
path: root/extra/mesa
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 10:52:25 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2011-07-12 10:52:25 -0300
commitfa448c3d0b12a414235560d2cbd14eb74aace7bd (patch)
tree7eba0bdaa22064ded547a56f54a112356f050d8b /extra/mesa
parent995dab37c4558447073ea6cb2c6ef7b89849912c (diff)
Libtool hold update until glibc-2.14, mesa update (+1 patch), etc.
Diffstat (limited to 'extra/mesa')
-rw-r--r--extra/mesa/PKGBUILD16
-rw-r--r--extra/mesa/mesa-loongson.patch11
2 files changed, 25 insertions, 2 deletions
diff --git a/extra/mesa/PKGBUILD b/extra/mesa/PKGBUILD
index 67466407f..431a69083 100644
--- a/extra/mesa/PKGBUILD
+++ b/extra/mesa/PKGBUILD
@@ -22,7 +22,7 @@ makedepends=('glproto>=1.4.12' 'pkgconfig' 'libdrm>=2.4.25' 'libxxf86vm>=1.1.1'
[[ "$CARCH" = "mips64el" ]] || makedepends+=('dri2proto=2.3' 'llvm')
url="http://mesa3d.sourceforge.net"
license=('custom')
-source=(LICENSE gnome-shell-shader-fix.patch nouveau-fix-header.patch mesa-7.5-mips-wmb.patch)
+source=(LICENSE gnome-shell-shader-fix.patch nouveau-fix-header.patch mesa-7.5-mips-wmb.patch mesa-loongson.patch)
if [ "${_git}" = "true" ]; then
# mesa git shot from mastee (will become 7.11) branch - see for state: http://cgit.freedesktop.org/mesa/mesa/commit/?id=9a00dd974699e369b1eb292103fbde8bc6adfb87
source=(${source[@]} 'ftp://ftp.archlinux.org/other/mesa/mesa-9a00dd974699e369b1eb292103fbde8bc6adfb87.tar.bz2')
@@ -46,8 +46,9 @@ patch -Np1 -i "${srcdir}/gnome-shell-shader-fix.patch"
patch -Np1 -i "${srcdir}/nouveau-fix-header.patch"
fi
- # WMB for MIPS patch from Fedora
+ # WMB for MIPS patch from Fedora and Gentoo
patch -Np1 -i $srcdir/mesa-7.5-mips-wmb.patch
+ patch -Np1 -i $srcdir/mesa-loongson.patch
if [ "$CARCH" = "mips64el" ]; then
./configure --prefix=/usr \
@@ -395,3 +396,14 @@ fi
# make -C ${srcdir}/Mesa-${pkgver}/src/gallium/targets/dri-nouveau DESTDIR="${pkgdir}" install
#fi
#}
+md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
+ '3ec78f340f9387abd7a37b195e764cbf'
+ '67c87b77cc2236b52a3b47dad3fbb5d4'
+ 'c7788f2495060bf133771aef6ad25929'
+ '614d063ecd170940d9ae7b355d365d59')
+md5sums=('5c65a0fe315dd347e09b1f2826a1df5a'
+ '3ec78f340f9387abd7a37b195e764cbf'
+ '67c87b77cc2236b52a3b47dad3fbb5d4'
+ 'c7788f2495060bf133771aef6ad25929'
+ '598c24dccfcdcc99c07d883f7c09f36a'
+ '614d063ecd170940d9ae7b355d365d59')
diff --git a/extra/mesa/mesa-loongson.patch b/extra/mesa/mesa-loongson.patch
new file mode 100644
index 000000000..fa82abe49
--- /dev/null
+++ b/extra/mesa/mesa-loongson.patch
@@ -0,0 +1,11 @@
+--- Mesa-6.5.2/include/GL/internal/sarea.h.orig 2007-03-01 05:27:22.000000000 +0800
++++ Mesa-6.5.2/include/GL/internal/sarea.h 2007-03-01 05:27:49.000000000 +0800
+@@ -44,6 +44,8 @@
+ /* SAREA area needs to be at least a page */
+ #if defined(__alpha__)
+ #define SAREA_MAX 0x2000
++#elif defined(__mips__)
++#define SAREA_MAX 0x4000
+ #elif defined(__ia64__)
+ #define SAREA_MAX 0x10000 /* 64kB */
+ #else