commit:     d7a1fee2e71ffdccc1956a996d24fc2675a926a5
Author:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  1 18:26:58 2024 +0000
Commit:     Alfredo Tupone <tupone <AT> gentoo <DOT> org>
CommitDate: Thu Aug  1 18:28:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d7a1fee2

net-misc/unison: ignore TextRel on 32 bits

Closes: https://bugs.gentoo.org/926546
Signed-off-by: Alfredo Tupone <tupone <AT> gentoo.org>

 net-misc/unison/unison-2.53.5-r1.ebuild | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/net-misc/unison/unison-2.53.5-r1.ebuild 
b/net-misc/unison/unison-2.53.5-r1.ebuild
index d1619282f060..2c3522204b35 100644
--- a/net-misc/unison/unison-2.53.5-r1.ebuild
+++ b/net-misc/unison/unison-2.53.5-r1.ebuild
@@ -86,6 +86,11 @@ src_test() {
 }
 
 src_install() {
+       # OCaml generates textrels on 32-bit arches
+       if use arm || use ppc || use x86 ; then
+               export QA_TEXTRELS='.*'
+       fi
+
        # install manually, since it's just too much
        # work to force the Makefile to do the right thing.
        cd "${S}/src" || die

Reply via email to