commit:     1c207e714a7271562e22e6d4d22a2a8bbcac3f49
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  7 15:53:16 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Thu Aug  7 16:41:33 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c207e71

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

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

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

 media-libs/compface/compface-1.5.2-r2.ebuild | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/media-libs/compface/compface-1.5.2-r2.ebuild 
b/media-libs/compface/compface-1.5.2-r2.ebuild
index 9ffeb4582cc6..d93564994a5b 100644
--- a/media-libs/compface/compface-1.5.2-r2.ebuild
+++ b/media-libs/compface/compface-1.5.2-r2.ebuild
@@ -3,7 +3,7 @@
 
 EAPI="8"
 
-inherit autotools
+inherit autotools dot-a
 
 DESCRIPTION="Utilities and library to convert to/from X-Face format"
 HOMEPAGE="https://www.xemacs.org/Download/optLibs.html";
@@ -25,7 +25,13 @@ src_prepare() {
        eautoreconf
 }
 
+src_configure() {
+       lto-guarantee-fat
+       default
+}
+
 src_install() {
        default
+       strip-lto-bytecode
        newbin xbm2xface{.pl,}
 }

Reply via email to