aboutsummaryrefslogtreecommitdiffstats
path: root/main/mesa-demos
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-10-25 18:46:10 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-10-25 18:54:07 +0000
commit0b195ab7e203bf9273843b54ffbe458903725fe8 (patch)
tree5697867e93bd6c66e876a0ab0e1bda190effea2a /main/mesa-demos
parentb5c0890914ac3debe6d569fdcd25c88d57ea6865 (diff)
downloadaports-0b195ab7e203bf9273843b54ffbe458903725fe8.tar.bz2
aports-0b195ab7e203bf9273843b54ffbe458903725fe8.tar.xz
main/mesa-demos: rebuild against mesa-7.11
Diffstat (limited to 'main/mesa-demos')
-rw-r--r--main/mesa-demos/APKBUILD8
-rw-r--r--main/mesa-demos/mesa-demos-gles.patch15
2 files changed, 20 insertions, 3 deletions
diff --git a/main/mesa-demos/APKBUILD b/main/mesa-demos/APKBUILD
index 1b371db139..61aa452d87 100644
--- a/main/mesa-demos/APKBUILD
+++ b/main/mesa-demos/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa
pkgname=mesa-demos
pkgver=8.0.1
-pkgrel=0
+pkgrel=2
pkgdesc="Mesa demos and utils"
url="http://mesa3d.sourceforge.net"
arch="all"
@@ -13,7 +13,8 @@ makedepends="$depends_dev mesa-dev glew-dev automake autoconf libtool"
install=""
subpackages=
source="ftp://ftp.freedesktop.org/pub/mesa/demos/$pkgver/$pkgname-$pkgver.tar.bz2
- sincos.patch"
+ sincos.patch
+ mesa-demos-gles.patch"
_builddir="$srcdir/$pkgname-$pkgver"
@@ -39,4 +40,5 @@ package() {
}
md5sums="320c2a4b6edc6faba35d9cb1e2a30bf4 mesa-demos-8.0.1.tar.bz2
-75be22556a657f0a157028233832d167 sincos.patch"
+75be22556a657f0a157028233832d167 sincos.patch
+dc89e44fed4a6c9d0ac3d8b88ddead91 mesa-demos-gles.patch"
diff --git a/main/mesa-demos/mesa-demos-gles.patch b/main/mesa-demos/mesa-demos-gles.patch
new file mode 100644
index 0000000000..20d4430662
--- /dev/null
+++ b/main/mesa-demos/mesa-demos-gles.patch
@@ -0,0 +1,15 @@
+diff --git a/src/egl/opengles2/es2_info.c b/src/egl/opengles2/es2_info.c
+index 93816b5..647d634 100644
+--- a/src/egl/opengles2/es2_info.c
++++ b/src/egl/opengles2/es2_info.c
+@@ -18,8 +18,8 @@
+ #include <X11/Xlib.h>
+ #include <X11/Xutil.h>
+ #include <X11/keysym.h>
+-#include <GLES/gl.h>
+-#include <GLES/glext.h>
++#include <GLES2/gl2.h>
++#include <GLES2/gl2ext.h>
+ #include <EGL/egl.h>
+
+