commit:     40d63fec1a41d8bbaa354be980a7c896df0690af
Author:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
AuthorDate: Tue Aug 19 14:43:55 2025 +0000
Commit:     Eli Schwartz <eschwartz <AT> gentoo <DOT> org>
CommitDate: Tue Aug 19 19:06:01 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=40d63fec

app-misc/hivex: use dot-a.eclass

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

Signed-off-by: Eli Schwartz <eschwartz <AT> gentoo.org>

 app-misc/hivex/hivex-1.3.24-r1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/app-misc/hivex/hivex-1.3.24-r1.ebuild 
b/app-misc/hivex/hivex-1.3.24-r1.ebuild
index 89156e99b993..1a5c7c90260c 100644
--- a/app-misc/hivex/hivex-1.3.24-r1.ebuild
+++ b/app-misc/hivex/hivex-1.3.24-r1.ebuild
@@ -7,7 +7,7 @@ USE_RUBY="ruby32"
 RUBY_OPTIONAL=yes
 PYTHON_COMPAT=( python3_{10..13} )
 
-inherit perl-module ruby-ng python-single-r1 strip-linguas
+inherit dot-a perl-module ruby-ng python-single-r1 strip-linguas
 
 DESCRIPTION="Library for reading and writing Windows Registry 'hive' binary 
files"
 HOMEPAGE="https://libguestfs.org";
@@ -88,6 +88,8 @@ src_configure() {
                popd || die
        fi
 
+       use ocaml && lto-guarantee-fat
+
        local myeconfargs=(
                --enable-nls
                --disable-ruby
@@ -148,6 +150,7 @@ src_install() {
 
        use python && python_optimize
        use ruby && ruby-ng_src_install
+       use ocaml && strip-lto-bytecode
 
        if use perl; then
                perl_delete_localpod

Reply via email to