diff options
author | Sam James <sam@gentoo.org> | 2021-05-09 06:38:37 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-05-09 06:38:37 +0000 |
commit | 83c0a339bcfb4a95e53e81e8c5d4944a770b41a5 (patch) | |
tree | 46e0eae425e64becc0f58fe0c844ec7c417f23fb /dev-libs/cyrus-sasl | |
parent | profiles: mask broken =app-arch/brotli-1.0.9-r3 for now (diff) | |
download | gentoo-83c0a339bcfb4a95e53e81e8c5d4944a770b41a5.tar.gz gentoo-83c0a339bcfb4a95e53e81e8c5d4944a770b41a5.tar.bz2 gentoo-83c0a339bcfb4a95e53e81e8c5d4944a770b41a5.zip |
dev-libs/cyrus-sasl: fix deprecated _BSD_SOURCE warning
Closes: https://bugs.gentoo.org/579218
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-libs/cyrus-sasl')
-rw-r--r-- | dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild | 5 |
1 files changed, 4 insertions, 1 deletions
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 7949763dee6e..6da4c0add450 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=( |