diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/mesa-demos/APKBUILD | 8 | ||||
-rw-r--r-- | main/mesa-demos/mesa-demos-gles.patch | 15 |
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> + + |