summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch17
-rw-r--r--meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend3
2 files changed, 19 insertions, 1 deletions
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch
new file mode 100644
index 000000000..eb541d658
--- /dev/null
+++ b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos/fix-clear-build-break.patch
@@ -0,0 +1,17 @@
1mesa-demos: Add extension header to fix build break now that gl1 is removed
2
3Upstream Status: Pending
4
5diff --git a/src/egl/opengles1/clear.c b/src/egl/opengles1/clear.c
6index 9fe1b5291e1905fd6fe572063ed707d59ce45a81..ca9954a21b5f475709dbdef07f90b900962fcbc7 100644
7--- a/src/egl/opengles1/clear.c
8+++ b/src/egl/opengles1/clear.c
9@@ -34,7 +34,7 @@
10 #include <stdio.h>
11 #include <EGL/egl.h>
12 #include <GLES/gl.h>
13-
14+#include <GLES/glext.h>
15 #include "eglut.h"
16
17 typedef void (GL_APIENTRY *type_ClearColor)(GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
diff --git a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend
index 221a3c08f..9f675a25b 100644
--- a/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend
+++ b/meta-fsl-arm/recipes-graphics/mesa/mesa-demos_%.bbappend
@@ -1,5 +1,6 @@
1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:" 1FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
2 2
3SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch" 3SRC_URI_append_mx6 = " file://Replace-glWindowPos2iARB-calls-with-glWindowPos2i.patch \
4 file://fix-clear-build-break.patch"
4 5
5PACKAGECONFIG_remove_mx6sl = "gles1 gles2" 6PACKAGECONFIG_remove_mx6sl = "gles1 gles2"