recipes-graphics/virglrenderer/virglrenderer_%.bbappend

# glibc 2.43 added C11 threads declarations (once_flag in <bits/types/once_flag.h>
# and call_once) to <stdlib.h>. virglrenderer 1.0.1 bundles the yohhoy C11
# <threads.h> emulation (src/mesa/compat/c11/threads_posix.h) which typedefs
# once_flag to pthread_once_t and provides a static inline call_once; on glibc
# 2.43 these conflict with the system declarations. Skip them when glibc >= 2.43.
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " file://glibc243-c11-threads.patch"