New comment by sgn on void-packages repository https://github.com/void-linux/void-packages/pull/25455#issuecomment-706483416 Comment: > I tried to do this... I ran into problems. > > `gtkglextmm` has a corresponding API to `gtkglext`'s `gtkglfont` api that needs to be killed off too. ~Which one? I couldn't find that~ Found it. I don't know the reason but the build succeed. I guess we can left it there for now. > Furthermore `ufoairadiant` breaks with this change as it has an internal library that links against `gtkglfont` for font rendering in `ufoairadiant`. Let me see. > > This patch fixes the `glOrthof` stuff: > > ``` > SDL_opengl.h dosen't have the nessecary headers. GL/gl.h has the parts > of SDL_opengl.h needed for SDL_opengl_glext.h, then include > SDL_opengl_glext.h which has the *f functions. > > --- src/client/renderer/r_gl.h 2020-10-08 07:50:29.818581990 +1100 > +++ src/client/renderer/r_gl.h 2020-10-08 07:52:16.805006133 +1100 > @@ -29,7 +29,8 @@ > #include "../../ports/android/r_gles_android.h" > #include > #else > -#include > +#include > +#include > #endif > > inline void R_DrawArrays (GLint first, GLsizei count) { > ``` Excellent! Thanks, > `src/tools/radiant/libs/gtkutil/glfont.cpp` is the one that uses glfont.