commit: 97dd4a56a3a0f921e41294aa847b3f5cc2857812 Author: Nicolas PARLANT <nicolas.parlant <AT> parhuet <DOT> fr> AuthorDate: Fri Dec 19 21:18:14 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Dec 19 22:41:30 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97dd4a56
dev-libs/libdispatch: fix musl build system has an option for _GNU_SOURCE, use it to avoid failures with BSD' functions Closes: https://bugs.gentoo.org/967741 Signed-off-by: Nicolas PARLANT <nicolas.parlant <AT> parhuet.fr> Part-of: https://github.com/gentoo/gentoo/pull/45098 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/libdispatch/libdispatch-6.1.1.ebuild | 1 + 1 file changed, 1 insertion(+) diff --git a/dev-libs/libdispatch/libdispatch-6.1.1.ebuild b/dev-libs/libdispatch/libdispatch-6.1.1.ebuild index 8b51e1e316b3..ca94bffd6679 100644 --- a/dev-libs/libdispatch/libdispatch-6.1.1.ebuild +++ b/dev-libs/libdispatch/libdispatch-6.1.1.ebuild @@ -51,6 +51,7 @@ src_configure () { tc-export CC CXX LD AR NM OBJDUMP RANLIB PKG_CONFIG local mycmakeargs=( + -D_GNU_SOURCE=ON # fix musl bug #967741 -DINSTALL_PRIVATE_HEADERS=ON # private headers needed by gnustep-base/libobjc2[libdispatch] -DBUILD_TESTING=$(usex test) )
