commit: 83c0a339bcfb4a95e53e81e8c5d4944a770b41a5 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Sun May 9 06:38:37 2021 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun May 9 06:38:37 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83c0a339
dev-libs/cyrus-sasl: fix deprecated _BSD_SOURCE warning Closes: https://bugs.gentoo.org/579218 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild index 7949763dee6..6da4c0add45 100644 --- a/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild +++ b/dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild @@ -87,19 +87,22 @@ src_prepare() { src_configure() { append-flags -fno-strict-aliasing + if [[ ${CHOST} == *-solaris* ]] ; then # getpassphrase is defined in /usr/include/stdlib.h append-cppflags -DHAVE_GETPASSPHRASE else # this horrendously breaks things on Solaris append-cppflags -D_XOPEN_SOURCE -D_XOPEN_SOURCE_EXTENDED -D_BSD_SOURCE -DLDAP_DEPRECATED + # replaces BSD_SOURCE (bug #579218) + append-cppflags -D_DEFAULT_SOURCE fi multilib-minimal_src_configure } multilib_src_configure() { - # Java support. + # Java support multilib_is_native_abi && use java && export JAVAC="${JAVAC} ${JAVACFLAGS}" local myeconfargs=(
