Re: x11/picom update
RVP <[email protected]> Thu, 15 Jun 2023 15:57:03 +0000 (UTC)
| Newsgroups | gmane.os.netbsd.devel.x11 |
|---|---|
| Message-ID | <[email protected]> |
On Thu, 15 Jun 2023, pin wrote: > Run-time dependency gl found: YES 19.1.17 > Run-time dependency egl found: YES 19.1.17 > For some reason, the preference in -HEAD is to compile and install the older Mesa library in /usr/xsrc/external/mit/MesaLib.old instead of the newer 21.3.7 in /usr/xsrc/external/mit/MesaLib. > ../src/backend/gl/egl.c:42:8: error: unknown type name 'PFNEGLGETPLATFORMDISPLAYPROC' > 42 | static PFNEGLGETPLATFORMDISPLAYPROC eglGetPlatformDisplayProc = NULL; > | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ > ``` $ fgrep -r PFNEGLGETPLATFORMDISPLAYPROC \ /usr/xsrc/external/mit/MesaLib.old/dist/include/EGL/ \ /usr/X11R7/include/EGL/ ... crickets ... $ fgrep -r PFNEGLGETPLATFORMDISPLAYPROC \ /usr/xsrc/external/mit/MesaLib/dist/include/EGL/ /usr/xsrc/external/mit/MesaLib/dist/include/EGL/egl.h:typedef EGLDisplay (EGLAPIENTRYP PFNEGLGETPLATFORMDISPLAYPROC) (EGLenum platform, void *native_display, const EGLAttrib *attrib_list); $ ``` I should think compiling and installing MesaLib-21.3.7 should fix this issue, but, better ask why the old MesaLibi-19.1.x is still preferred. Adding `HAVE_MESA_VER=21' in /etc/mk.conf and recompiling the system (or, just the Mesa library?) should get you the new MesaLib. -RVP