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.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 AD99615800F for ; Sat, 14 Jan 2023 19:17:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4C680E08F3; Sat, 14 Jan 2023 19:17:33 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 E3483E08EC for ; Sat, 14 Jan 2023 19:17:32 +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 C724A340EDB for ; Sat, 14 Jan 2023 19:17:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 049A887B for ; Sat, 14 Jan 2023 19:17:29 +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: <1673723677.5702c9425e4b39bd530e6c8e0a5727ed63d1141f.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/npth/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/npth/npth-1.6-r1.ebuild X-VCS-Directories: dev-libs/npth/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5702c9425e4b39bd530e6c8e0a5727ed63d1141f X-VCS-Branch: master Date: Sat, 14 Jan 2023 19:17:29 +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: 744ef868-f54b-4632-b650-609e64428802 X-Archives-Hash: 3ba159f6cb1b2a1e18129986fa670420 commit: 5702c9425e4b39bd530e6c8e0a5727ed63d1141f Author: WANG Xuerui gentoo org> AuthorDate: Fri Jan 13 07:30:07 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 14 19:14:37 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5702c942 dev-libs/npth: fix build with lld-16 Signed-off-by: WANG Xuerui gentoo.org> Signed-off-by: Sam James gentoo.org> dev-libs/npth/npth-1.6-r1.ebuild | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/dev-libs/npth/npth-1.6-r1.ebuild b/dev-libs/npth/npth-1.6-r1.ebuild index bb3c8b84c723..00a8ae2ae917 100644 --- a/dev-libs/npth/npth-1.6-r1.ebuild +++ b/dev-libs/npth/npth-1.6-r1.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 autotools +inherit autotools flag-o-matic toolchain-funcs DESCRIPTION="New GNU Portable Threads Library" HOMEPAGE="https://git.gnupg.org/cgi-bin/gitweb.cgi?p=npth.git" @@ -21,6 +21,13 @@ src_prepare() { } 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 + econf \ --disable-static \ $(use_enable test tests)