]> code.ossystems Code Review - openembedded-core.git/commit
glew: Fix build errors at recipes depending on glew
authorAndreas Müller <schnitzeltony@gmail.com>
Thu, 21 Mar 2019 14:05:32 +0000 (15:05 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 24 Mar 2019 17:00:42 +0000 (17:00 +0000)
commitfd6ca8f7453230bac4cd1145406a55549ad43e71
tree081bb2a0b4a43de2fe9ac7a72fd2c0d9e4f1eefc
parent966213b3c99d428f2afba3ad3d88189669005eb6
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);
|                                                                                                          ^

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-graphics/glew/glew/0001-Fixed-compilation-with-current-mesa-versions.patch [new file with mode: 0644]
meta/recipes-graphics/glew/glew_2.1.0.bb