commit:     978a89b79928342990c7da40c43a1cc9b84d3e7e
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  5 15:18:33 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Feb  5 15:18:58 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=978a89b7

dev-lang/ghc: unconditionally apply sphinx patch

Closes: https://bugs.gentoo.org/890563
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/ghc/ghc-9.0.2-r3.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/dev-lang/ghc/ghc-9.0.2-r3.ebuild b/dev-lang/ghc/ghc-9.0.2-r3.ebuild
index 1cd220d817eb..21f2dedfd9de 100644
--- a/dev-lang/ghc/ghc-9.0.2-r3.ebuild
+++ b/dev-lang/ghc/ghc-9.0.2-r3.ebuild
@@ -458,6 +458,9 @@ src_prepare() {
                [[ -e "${f}" ]] || ln -sf "$($(tc-getPKG_CONFIG) 
--cflags-only-I libffi | sed "s/-I//g" | tr -d " ")/$(basename "${f}")" "${f}" 
|| die
        done
 
+
+       eapply "${FILESDIR}"/${PN}-9.0.2-sphinx-6.patch
+
        if use binary; then
                if use prefix; then
                        relocate_ghc "${EPREFIX}"
@@ -544,7 +547,6 @@ src_prepare() {
                eapply "${FILESDIR}"/latomic-subword
                eapply "${WORKDIR}"/${P}-riscv64-llvm.patch
                eapply "${FILESDIR}"/${PN}-9.0.2-fptools.patch # clang-16 
workaround
-               eapply "${FILESDIR}"/${PN}-9.0.2-sphinx-6.patch
 
                # mingw32 target
                pushd "${S}/libraries/Win32"

Reply via email to