mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
glibc 2.43 introduced the C23 variadic assert implementation. With _GNU_SOURCE, assert.h declares extern _Bool __assert_single_arg(_Bool) even when compiling in gnu17 mode. ldns later attempts to redefine _Bool for pre-C99 compatibility, causing build failures when compiling in c17 or gnu17 mode with _GNU_SOURCE. Closes: https://bugs.gentoo.org/980828 Signed-off-by: Z. Liu <zhixu.liu@gmail.com> Part-of: https://codeberg.org/gentoo/gentoo/pulls/1661 Merges: https://codeberg.org/gentoo/gentoo/pulls/1661 Signed-off-by: Marc Schiffbauer <mschiff@gentoo.org>