From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1477390-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C828C15800F for <garchives@archives.gentoo.org>; Sat, 14 Jan 2023 19:17:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DE0FAE0907; Sat, 14 Jan 2023 19:17:34 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C882FE0907 for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2023 19:17:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 1D6D5340ECD for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2023 19:17:34 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 7893B88C for <gentoo-commits@lists.gentoo.org>; Sat, 14 Jan 2023 19:17:29 +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: <1673723679.bb2f8fa8fa7541defbcdb9b66049833f15c66686.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/rhash/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/rhash/rhash-1.4.2.ebuild app-crypt/rhash/rhash-1.4.3.ebuild X-VCS-Directories: app-crypt/rhash/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: bb2f8fa8fa7541defbcdb9b66049833f15c66686 X-VCS-Branch: master Date: Sat, 14 Jan 2023 19:17:29 +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: 9ca585a6-ff11-4fa4-be39-cc2baab3aeef X-Archives-Hash: a68cfc345e19a2fdcd6e293d9ed9eb2d commit: bb2f8fa8fa7541defbcdb9b66049833f15c66686 Author: WANG Xuerui <xen0n <AT> gentoo <DOT> org> AuthorDate: Sat Jan 14 06:35:31 2023 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 14 19:14:39 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb2f8fa8 app-crypt/rhash: fix build with lld-16 Signed-off-by: WANG Xuerui <xen0n <AT> gentoo.org> Signed-off-by: Sam James <sam <AT> gentoo.org> app-crypt/rhash/rhash-1.4.2.ebuild | 11 +++++++++-- app-crypt/rhash/rhash-1.4.3.ebuild | 11 +++++++++-- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/app-crypt/rhash/rhash-1.4.2.ebuild b/app-crypt/rhash/rhash-1.4.2.ebuild index 28eb73baa382..85a78659e4d4 100644 --- a/app-crypt/rhash/rhash-1.4.2.ebuild +++ b/app-crypt/rhash/rhash-1.4.2.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=7 -inherit toolchain-funcs multilib-minimal +inherit flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="Console utility and library for computing and verifying file hash sums" HOMEPAGE="http://rhash.sourceforge.net/" @@ -46,6 +46,13 @@ src_prepare() { } multilib_src_configure() { + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + set -- \ ./configure \ --target="${CHOST}" \ diff --git a/app-crypt/rhash/rhash-1.4.3.ebuild b/app-crypt/rhash/rhash-1.4.3.ebuild index 3836fca5035c..1cfc029f4978 100644 --- a/app-crypt/rhash/rhash-1.4.3.ebuild +++ b/app-crypt/rhash/rhash-1.4.3.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2023 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 -inherit toolchain-funcs multilib-minimal +inherit flag-o-matic toolchain-funcs multilib-minimal DESCRIPTION="Console utility and library for computing and verifying file hash sums" HOMEPAGE="http://rhash.sourceforge.net/" @@ -42,6 +42,13 @@ src_prepare() { } multilib_src_configure() { + # ideally we want !tc-ld-is-bfd for best future-proofing, but it needs + # https://github.com/gentoo/gentoo/pull/28355 + # mold needs this too but right now tc-ld-is-mold is also not available + if tc-ld-is-lld; then + append-ldflags -Wl,--undefined-version + fi + set -- \ ./configure \ --target="${CHOST}" \