commit:     427ed5358b2f145aa1d87b6eb2503396f41fbd68
Author:     hololeap <hololeap <AT> users <DOT> noreply <DOT> github <DOT> com>
AuthorDate: Sat Jan 21 01:15:41 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jan 21 02:36:31 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=427ed535

dev-lang/ghc: depend on libffi[-exec-static-trampoline]

The 8.10 line of ghc needs USE=exec-static-trampoline turned off on
libffi. The fix exists in 9.0.2 and later versions of ghc.

See: https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6155
Bug: https://bugs.gentoo.org/801109
Reported-by: Sam James <sam <AT> gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29195
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/ghc/{ghc-8.10.6-r1.ebuild => ghc-8.10.6-r2.ebuild} | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/ghc/ghc-8.10.6-r1.ebuild 
b/dev-lang/ghc/ghc-8.10.6-r2.ebuild
similarity index 99%
rename from dev-lang/ghc/ghc-8.10.6-r1.ebuild
rename to dev-lang/ghc/ghc-8.10.6-r2.ebuild
index 32dcc0691043..a6c5e39b7c68 100644
--- a/dev-lang/ghc/ghc-8.10.6-r1.ebuild
+++ b/dev-lang/ghc/ghc-8.10.6-r2.ebuild
@@ -87,7 +87,7 @@ RDEPEND="
        dev-libs/gmp:0=
        sys-libs/ncurses:=[unicode(+)]
        elfutils? ( dev-libs/elfutils )
-       !ghcmakebinary? ( dev-libs/libffi:= )
+       !ghcmakebinary? ( dev-libs/libffi:=[-exec-static-trampoline] )
        numa? ( sys-process/numactl )
 "
 

Reply via email to