From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id EEC8A15808A for ; Tue, 05 Aug 2025 20:01:16 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DABAA340D5F for ; Tue, 05 Aug 2025 20:01:16 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id E99DE110560; Tue, 05 Aug 2025 20:01:08 +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) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id E3EAC110560 for ; Tue, 05 Aug 2025 20:01:08 +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) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 821A1340CEE for ; Tue, 05 Aug 2025 20:01:08 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E7A0332BC for ; Tue, 05 Aug 2025 20:01:06 +0000 (UTC) From: "Eli Schwartz" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Eli Schwartz" Message-ID: <1754423608.956f65d78d5fb3468a3cf31b19e7f08e4f9afb34.eschwartz@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/netwib/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/netwib/netwib-5.39.0-r1.ebuild X-VCS-Directories: net-libs/netwib/ X-VCS-Committer: eschwartz X-VCS-Committer-Name: Eli Schwartz X-VCS-Revision: 956f65d78d5fb3468a3cf31b19e7f08e4f9afb34 X-VCS-Branch: master Date: Tue, 05 Aug 2025 20:01:06 +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: 1bc55ecb-24bd-4284-b18e-5bd6684de693 X-Archives-Hash: 7f43b25927cc373ca52b71cad64201bb commit: 956f65d78d5fb3468a3cf31b19e7f08e4f9afb34 Author: Eli Schwartz gentoo org> AuthorDate: Tue Aug 5 02:43:22 2025 +0000 Commit: Eli Schwartz gentoo org> CommitDate: Tue Aug 5 19:53:28 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=956f65d7 net-libs/netwib: use dot-a.eclass ... to avoid installing broken static libraries w/ LTO. Does feel a bit silly since the package has no outputs other than this static lib, basically. There's nothing to benefit from lto at all. I was convinced by Sam to *not* use filter-lto instead, because filter-lto will corrupt grep if used for things that aren't actually *broken*. Closes: https://bugs.gentoo.org/958462 Signed-off-by: Eli Schwartz gentoo.org> net-libs/netwib/netwib-5.39.0-r1.ebuild | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/net-libs/netwib/netwib-5.39.0-r1.ebuild b/net-libs/netwib/netwib-5.39.0-r1.ebuild index 00c9aa0e1237..4535f6c5c12f 100644 --- a/net-libs/netwib/netwib-5.39.0-r1.ebuild +++ b/net-libs/netwib/netwib-5.39.0-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2024 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 # NOTE: netwib, netwox and netwag go together, bump all or bump none EAPI=8 -inherit toolchain-funcs +inherit dot-a toolchain-funcs DESCRIPTION="Library of Ethernet, IP, UDP, TCP, ICMP, ARP and RARP protocols" HOMEPAGE=" @@ -37,12 +37,15 @@ src_configure() { tc-export AR CC RANLIB sed -e "s:/lib:/$(get_libdir):" \ -i config.dat || die + # the only package output is static libs + lto-guarantee-fat sh genemake || die } src_install() { default + strip-lto-bytecode dodoc \ ../README.TXT \