Summary: | sci-libs/opencascade-6.7.1 - fails to build with recent mesa-10.3.5: /usr/include/GL/glxext.h:480:164: error: ‘GLintptr’ has not been declared | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Matthias Maier <tamiko> |
Component: | Current packages | Assignee: | Michael Weber (RETIRED) <xmw> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | anarchy, hendrik, mgorny |
Priority: | Normal | Keywords: | PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Define GLX_GLXEXT_LEGACY prior to inclusion of GL/glx.h |
I have allowed myself to commit the patch for you: + 09 Jan 2015; Michał Górny <mgorny@gentoo.org> + +files/opencascade-6.7.1-deprecated-glx-api.patch, opencascade-6.7.0.ebuild, + opencascade-6.7.1.ebuild: + Fix build with new versions of mesa, bug #533412. However, I'm leaving the bug open for you to decide whether and how to upstream it. It may be desirable for upstream to stop using deprecated APIs instead of re-enabling them. +*opencascade-6.9.0 (22 Jul 2015) + + 22 Jul 2015; Michael Weber <xmw@gentoo.org> + +files/opencascade-6.5.5-deprecated-glx-api.patch, + +files/opencascade-6.6.0-deprecated-glx-api.patch, +opencascade-6.9.0.ebuild, + opencascade-6.5.5.ebuild, opencascade-6.6.0.ebuild, opencascade-6.7.1.ebuild: + Version bump and backport mesa fix (bug 533412). + |
Created attachment 392294 [details, diff] Define GLX_GLXEXT_LEGACY prior to inclusion of GL/glx.h opencascade does not compile with newer versions of the (mesa) opengl header <GL/glx.h>. It is necessary to define the macro GLX_GLXEXT_LEGACY prior to inclusion. This is safe to do unconditionally as the definition is not used in older opengl headers at all. Patch attached.