recipes-graphics/mesa/mesa_%.bbappend
# glibc 2.43 added C11 threads declarations (once_flag/call_once) to <stdlib.h>
# in C mode. mesa 24.0.7 bundles the yohhoy C11 <threads.h> emulation
# (src/c11/threads.h + src/c11/impl/threads_posix.c), which clashes with the
# system declarations when compiled with -D_GNU_SOURCE. Rename the bundled
# symbols to avoid the clash.
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " file://glibc243-c11-threads.patch"