Mesa performance tips ( https://www.mesa3d.org/perf.html ) recommends compiling libX11 with MIT shared memory support for best openGL performance, yet this seems to be missing in ebuild. Is there some kind of securtiy problem with this ? I've modified exisitng ebuild. I've adde shm USE flag and conditinal dependency to libXext. PAckage seesm to build fine and uses added define and libXext library during make. I'll attach the ebuild... Reproducible: Always
Created attachment 631690 [details] tweaked ebuild- added libXext dependency and shm flag
Thanks for the report. That documentation is very out of date. SHM support is enabled automatically by configure.ac: AC_CHECK_FUNC([shmat], AC_DEFINE(HAS_SHM,1,[Has shm*() functions])) which detects it on my system: > checking for shmat... yes So, nothing to do here. :)