summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/glew/glew_2.1.0.bb
diff options
context:
space:
mode:
authorAndreas Müller <schnitzeltony@gmail.com>2019-03-21 15:05:32 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2019-03-24 17:00:52 +0000
commitb32c0ba7c9969189c824d2c7dc72af466786a19e (patch)
treebb7deee11f43119a37462425ce31a6cdefc2db8c /meta/recipes-graphics/glew/glew_2.1.0.bb
parente7f81f1959ba0f4ca6daec3628b322767ed92308 (diff)
downloadpoky-b32c0ba7c9969189c824d2c7dc72af466786a19e.tar.gz
glew: Fix build errors at recipes depending on glew
Glew headers override mesa headers by setting mesa's include guards. This stopped working since mesa renamed them. Fixes errors like this in depending recipes: | <...>/recipe-sysroot/usr/include/GL/glext.h:12066:105: error: conflicting declaration 'typedef void (* PFNGLFRAGMENTLIGHTFVSGIXPROC)(GLenum, GLenum, const GLfloat*)' | typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params); | ^ (From OE-Core rev: fd6ca8f7453230bac4cd1145406a55549ad43e71) Signed-off-by: Andreas Müller <schnitzeltony@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/glew/glew_2.1.0.bb')
-rw-r--r--meta/recipes-graphics/glew/glew_2.1.0.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta/recipes-graphics/glew/glew_2.1.0.bb b/meta/recipes-graphics/glew/glew_2.1.0.bb
index be725e0530..18e6909aa7 100644
--- a/meta/recipes-graphics/glew/glew_2.1.0.bb
+++ b/meta/recipes-graphics/glew/glew_2.1.0.bb
@@ -6,7 +6,8 @@ LICENSE = "MIT"
6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ac251558de685c6b9478d89be3149c2" 6LIC_FILES_CHKSUM = "file://LICENSE.txt;md5=2ac251558de685c6b9478d89be3149c2"
7 7
8SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \ 8SRC_URI = "${SOURCEFORGE_MIRROR}/project/glew/glew/${PV}/glew-${PV}.tgz \
9 file://no-strip.patch" 9 file://no-strip.patch \
10 file://0001-Fixed-compilation-with-current-mesa-versions.patch"
10 11
11SRC_URI[md5sum] = "b2ab12331033ddfaa50dc39345343980" 12SRC_URI[md5sum] = "b2ab12331033ddfaa50dc39345343980"
12SRC_URI[sha256sum] = "04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95" 13SRC_URI[sha256sum] = "04de91e7e6763039bc11940095cd9c7f880baba82196a7765f727ac05a993c95"