mesa: 9da4021626dd48a1cc25054d1d4009e098f4d97b (master) Seeing this build failure on NetBSD 6.1. CC glapi_dispatch.lo In file included from ../../../include/GL/gl.h:2085:0, from ../../../src/mapi/glapi/glapi_priv.h:38, from glapi_dispatch.c:40: ../../../include/GL/glext.h:412:25: error: redefinition of typedef 'PFNGLBLENDCOLORPROC' ../../../include/GL/gl.h:1739:25: note: previous declaration of 'PFNGLBLENDCOLORPROC' was here ../../../include/GL/glext.h:413:25: error: redefinition of typedef 'PFNGLBLENDEQUATIONPROC' ../../../include/GL/gl.h:1740:25: note: previous declaration of 'PFNGLBLENDEQUATIONPROC' was here
Hi Vinson, If you remove lines 1739-1740 in gl.h does that fix this?
(In reply to comment #1) > > If you remove lines 1739-1740 in gl.h does that fix this? Yes, removing those two lines fixes the build. diff --git a/include/GL/gl.h b/include/GL/gl.h index 975cfe8..babb746 100644 --- a/include/GL/gl.h +++ b/include/GL/gl.h @@ -1736,8 +1736,6 @@ GLAPI void GLAPIENTRY glSeparableFilter2D( GLenum target, GLAPI void GLAPIENTRY glGetSeparableFilter( GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span ); -typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha); -typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
Fixed with commit a36f7e651e947ff14dbbd242b1d9ab160442c532
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.