commit:     a5da658140e993d40803c6d8d4cde29f34782e76
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 06:26:40 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Jun 17 19:04:10 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5da6581

sys-apps/isapnptools: use dot-a.eclass

... to avoid installing broken static libraries w/ LTO.

Closes: https://bugs.gentoo.org/958067
Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 sys-apps/isapnptools/isapnptools-1.27-r1.ebuild | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/sys-apps/isapnptools/isapnptools-1.27-r1.ebuild 
b/sys-apps/isapnptools/isapnptools-1.27-r1.ebuild
index c1c19af4d549..6deeaf3e4407 100644
--- a/sys-apps/isapnptools/isapnptools-1.27-r1.ebuild
+++ b/sys-apps/isapnptools/isapnptools-1.27-r1.ebuild
@@ -1,8 +1,10 @@
-# Copyright 1999-2024 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
+inherit dot-a
+
 DESCRIPTION="Tools for configuring ISA PnP devices"
 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage";
 SRC_URI="ftp://metalab.unc.edu/pub/Linux/system/hardware/${P}.tgz";
@@ -17,8 +19,14 @@ PATCHES=(
        "${FILESDIR}"/${P}-incompatible-pointer-types.patch
 )
 
+src_configure() {
+       lto-guarantee-fat
+       default
+}
+
 src_install() {
        default
+       strip-lto-bytecode
 
        dodir /sbin
        mv "${ED}"/{usr/sbin/isapnp,sbin/} || die

Reply via email to