Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 510730

Summary: app-admin/eselect-opengl - update header files to match media-libs/mesa
Product: Gentoo Linux Reporter: nE0sIghT <ykonotopov>
Component: [OLD] LibraryAssignee: Gentoo X packagers <x11>
Status: RESOLVED OBSOLETE    
Severity: normal CC: 96bd763529be62c7350d43e8ae67f9623c998ddc, pacho
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 531842    
Bug Blocks:    

Description nE0sIghT 2014-05-19 10:46:51 UTC
With recently mesa change ( http://cgit.freedesktop.org/mesa/mesa/commit/?id=a36f7e6 ) PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC was removed from GL/gl.h

They are defined in GL/glext.h under "ifndef GL_VERSION_1_4" condition

eselect-opengl provides glext.h from http://www.opengl.org/registry/api/glxext.h that defines PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC under "ifndef GL_VERSION_1_2" condition, so when i select non xorg-x11 OpenGL implementation PFNGLBLENDCOLORPROC and PFNGLBLENDEQUATIONPROC became unavailable for me (when >=mesa-10 installed).
This is break pcsx2 build

I'm not OpenGL guru, but think that eselect-opengl must provide newer version if glext.h: http://www.opengl.org/registry/api/GL/glext.h for >=mesa-10

Link to that updated header is available under opengl.org registry page: http://www.opengl.org/registry/
Comment 1 nE0sIghT 2014-05-19 21:21:03 UTC
(In reply to nE0sIghT from comment #0)
> ..
> eselect-opengl provides glext.h from
> http://www.opengl.org/registry/api/glxext.h
> ...

There is typo in URL.
Of course current (used in eselect-opengl) URL is http://www.opengl.org/registry/api/glext.h
Newer is http://www.opengl.org/registry/api/GL/glext.h
Comment 2 Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2014-12-31 12:23:54 UTC
Starting with 1.3*, eselect-opengl no longer installs header files. We unconditionally use header files from mesa instead.