recipes-core/util-linux/util-linux_%.bbappend

# Ported from PetaLinux 2025.2 meta-user (native gcc-15/glibc-2.43 fixes).
# glibc 2.43 turns bsearch into a const-generic macro when _GNU_SOURCE is defined
# (util-linux config.h does). lsfd.c passes a compound literal with a trailing comma
# as the key, which the preprocessor miscounts as an extra argument. Drop the trailing
# comma so the call works whether or not bsearch is a macro.
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
SRC_URI:append = " file://lsfd-bsearch.patch"