From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 3E361158086 for ; Thu, 14 Oct 2021 06:16:00 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 61587E0821; Thu, 14 Oct 2021 06:15:59 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CBBB8E0821 for ; Thu, 14 Oct 2021 06:15:58 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7AE23343366 for ; Thu, 14 Oct 2021 06:15:57 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C58BB132 for ; Thu, 14 Oct 2021 06:15:55 +0000 (UTC) From: "Sam James" 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" Message-ID: <1634192086.46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19.sam@gentoo> Subject: [gentoo-commits] repo/proj/prefix:master commit in: eclass/ X-VCS-Repository: repo/proj/prefix X-VCS-Files: eclass/toolchain.eclass X-VCS-Directories: eclass/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19 X-VCS-Branch: master Date: Thu, 14 Oct 2021 06:15:55 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 385cfdb2-f029-46ac-aa4e-c0b294cb1d8f X-Archives-Hash: c3e178ccdc0670afdf47653ad955e81a commit: 46cb1cb5a5e1f8eeba77ad733d3af149d8a4ce19 Author: Sam James gentoo org> AuthorDate: Thu Oct 14 06:14:08 2021 +0000 Commit: Sam James gentoo org> CommitDate: Thu Oct 14 06:14:46 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=46cb1cb5 toolchain.eclass: depend on virtual/libcrypt with USE=sanitize Bug: https://bugs.gentoo.org/802648 Closes: https://bugs.gentoo.org/817974 Signed-off-by: Sam James gentoo.org> eclass/toolchain.eclass | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index da707d504d..2bdc8f5633 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -259,6 +259,13 @@ if tc_has_feature gcj ; then DEPEND+=" gcj? ( awt? ( ${GCJ_GTK_DEPS} ) ${GCJ_DEPS} )" fi +if tc_has_feature sanitize ; then + # libsanitizer relies on 'crypt.h' to be present + # on target. glibc userdto provide it unconditionally. + # Nowadays it's a standalone library: #802648 + DEPEND+=" sanitize? ( virtual/libcrypt )" +fi + if tc_has_feature systemtap ; then # gcc needs sys/sdt.h headers on target DEPEND+=" systemtap? ( dev-util/systemtap )"