diff options
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch | 21 | ||||
| -rw-r--r-- | meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb | 5 |
2 files changed, 24 insertions, 2 deletions
diff --git a/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch b/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch new file mode 100644 index 0000000000..849c974e09 --- /dev/null +++ b/meta/recipes-graphics/mesa/mesa-demos/gles2-info.patch | |||
| @@ -0,0 +1,21 @@ | |||
| 1 | Fix to enable gles2 to build. | ||
| 2 | |||
| 3 | Ross Burton <ross.burton@intel.com> | ||
| 4 | |||
| 5 | Upstream-Status: Pending | ||
| 6 | |||
| 7 | Index: mesa-demos-8.0.1/src/egl/opengles2/es2_info.c | ||
| 8 | =================================================================== | ||
| 9 | --- mesa-demos-8.0.1.orig/src/egl/opengles2/es2_info.c 2010-07-07 18:57:15.000000000 +0100 | ||
| 10 | +++ mesa-demos-8.0.1/src/egl/opengles2/es2_info.c 2012-08-01 13:14:59.000104115 +0100 | ||
| 11 | @@ -18,8 +18,8 @@ | ||
| 12 | #include <X11/Xlib.h> | ||
| 13 | #include <X11/Xutil.h> | ||
| 14 | #include <X11/keysym.h> | ||
| 15 | -#include <GLES/gl.h> | ||
| 16 | -#include <GLES/glext.h> | ||
| 17 | +#include <GLES2/gl2.h> | ||
| 18 | +#include <GLES2/gl2ext.h> | ||
| 19 | #include <EGL/egl.h> | ||
| 20 | |||
| 21 | |||
diff --git a/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb b/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb index bfc62c585f..1d16bfc392 100644 --- a/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb +++ b/meta/recipes-graphics/mesa/mesa-demos_8.0.1.bb | |||
| @@ -11,10 +11,11 @@ LIC_FILES_CHKSUM = "file://src/xdemos/glxgears.c;beginline=1;endline=20;md5=9142 | |||
| 11 | 11 | ||
| 12 | DEPENDS = "virtual/libx11 virtual/libgl glew" | 12 | DEPENDS = "virtual/libx11 virtual/libgl glew" |
| 13 | 13 | ||
| 14 | PR = "r2" | 14 | PR = "r3" |
| 15 | 15 | ||
| 16 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \ | 16 | SRC_URI = "ftp://ftp.freedesktop.org/pub/mesa/demos/${PV}/${BPN}-${PV}.tar.bz2 \ |
| 17 | file://dso_linking_change_build_fix.patch" | 17 | file://dso_linking_change_build_fix.patch \ |
| 18 | file://gles2-info.patch" | ||
| 18 | 19 | ||
| 19 | inherit autotools pkgconfig | 20 | inherit autotools pkgconfig |
| 20 | 21 | ||
