From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1279907-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 86FD41382C5 for <garchives@archives.gentoo.org>; Sun, 9 May 2021 06:38:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D6ED4E041F; Sun, 9 May 2021 06:38:58 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id AF534E041F for <gentoo-commits@lists.gentoo.org>; Sun, 9 May 2021 06:38:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 947D7340F05 for <gentoo-commits@lists.gentoo.org>; Sun, 9 May 2021 06:38:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 32DF1736 for <gentoo-commits@lists.gentoo.org>; Sun, 9 May 2021 06:38:56 +0000 (UTC) From: "Sam James" <sam@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org> Message-ID: <1620542317.83c0a339bcfb4a95e53e81e8c5d4944a770b41a5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/cyrus-sasl/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/cyrus-sasl/cyrus-sasl-2.1.27-r4.ebuild X-VCS-Directories: dev-libs/cyrus-sasl/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 83c0a339bcfb4a95e53e81e8c5d4944a770b41a5 X-VCS-Branch: master Date: Sun, 9 May 2021 06:38:56 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 03d422ec-5bc0-4c05-8c20-a77baeb15150 X-Archives-Hash: d9c5bfe341b1e807c45b88c71892b74c 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=(