Summary: | app-emulation/virtualbox-6.0.10-r2 - .../work/VirtualBox-6.0.10/src/VBox/GuestHost/OpenGL/include/GL/glext.h:4244:25: error: conflicting declaration ‘typedef void (* PFNGLSHADERSOURCEPROC)(GLuint, GLsize | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Tiziano Müller (RETIRED) <dev-zero> |
Component: | Current packages | Assignee: | Lars Wendler (Polynomial-C) (RETIRED) <polynomial-c> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
compressed build.log
minimal patch to make it build |
Description
Tiziano Müller (RETIRED)
![]() It seems that VirtualBox is bundling a very old (2007) version of glext.h, because mesa-19.1.4 has the `const GLchar *const*string` in both GL/glext.h and GLES3/gl32.h for PFNGLSHADERSOURCEPROC, and there it was added in 2013. I assume that when building with qtgui[gles2] MESA's `gl32.h` leaks into the include-chain for some reason, while it doesn't when using GL. Created attachment 587606 [details, diff]
minimal patch to make it build
adding a minimal patch which makes it build by updating the definition to the one found in `glext.h` from 2013
The bug has been closed via the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f4382730ae25d099e289124be648f9f30825a4e4 commit f4382730ae25d099e289124be648f9f30825a4e4 Author: Lars Wendler <polynomial-c@gentoo.org> AuthorDate: 2019-12-17 12:42:08 +0000 Commit: Lars Wendler <polynomial-c@gentoo.org> CommitDate: 2019-12-17 12:42:08 +0000 app-emulation/virtualbox: New 6.0.x patchset Thanks-to: Tiziano Müller <dev-zero@gentoo.org> Closes: https://bugs.gentoo.org/692604 Package-Manager: Portage-2.3.82, Repoman-2.3.20 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org> app-emulation/virtualbox/Manifest | 1 + app-emulation/virtualbox/virtualbox-6.0.14.ebuild | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) Thank you for the patch and sorry it took so long to include it. |