From 427ed5358b2f145aa1d87b6eb2503396f41fbd68 Mon Sep 17 00:00:00 2001 From: hololeap Date: Fri, 20 Jan 2023 18:15:41 -0700 Subject: [PATCH] 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 Closes: https://github.com/gentoo/gentoo/pull/29195 Signed-off-by: Sam James --- dev-lang/ghc/{ghc-8.10.6-r1.ebuild => ghc-8.10.6-r2.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename dev-lang/ghc/{ghc-8.10.6-r1.ebuild => ghc-8.10.6-r2.ebuild} (99%) 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 32dcc0691043d..a6c5e39b7c68d 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 ) "