commit:     096fff493210948558e54a3a0999c9b396433b97
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Jun 17 06:30:07 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=096fff49

media-libs/libbsb: use dot-a.eclass

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

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

 media-libs/libbsb/libbsb-0.0.7-r2.ebuild | 12 +++++++++++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/media-libs/libbsb/libbsb-0.0.7-r2.ebuild 
b/media-libs/libbsb/libbsb-0.0.7-r2.ebuild
index b79a2bee3ac1..90aacded54f6 100644
--- a/media-libs/libbsb/libbsb-0.0.7-r2.ebuild
+++ b/media-libs/libbsb/libbsb-0.0.7-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools toolchain-funcs
+inherit autotools dot-a toolchain-funcs
 
 DESCRIPTION="Portable C library for reading and writing BSB format image files"
 HOMEPAGE="https://libbsb.sourceforge.net/";
@@ -26,3 +26,13 @@ src_prepare(){
        default
        eautoreconf
 }
+
+src_configure() {
+       lto-guarantee-fat
+       default
+}
+
+src_install() {
+       default
+       strip-lto-bytecode
+}

Reply via email to