On Wed, 05 Dec 2018 12:44:07 +0100 Andreas Beckmann <a...@debian.org> wrote: > Followup-For: Bug #915112 > Control: found -1 2.1.0-3 > > $ cat glewglext.c > #include<GL/glew.h> > #include<GL/gl.h> > #include<GL/glext.h> > > $ gcc -c glewglext.c > In file included from glewglext.c:3: > /usr/include/GL/glext.h:12066:25: error: conflicting types for > 'PFNGLFRAGMENTLIGHTFVSGIXPROC' > typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum > pname, const GLfloat *params); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > In file included from glewglext.c:1: > /usr/include/GL/glew.h:18734:28: note: previous declaration of > 'PFNGLFRAGMENTLIGHTFVSGIXPROC' was here > typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, > GLenum pname, GLfloat* params); > ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ... > > This seems to be a good candidate for compile time tests and autopkgtests.
Indeed it seems that the patch didn't affect glew.h. I don't know the package too well but that's a >1 MB header that cannot be found in upstream git, and I get the impression that it is generated using auto/Makefile. The debian build logs don't contain "Creating glew.h" so I believe the original upstream-distributed include/GL/glew.h is shipped. Regards, Juhani