summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-02-05 15:18:33 +0000
committerSam James <sam@gentoo.org>2023-02-05 15:18:58 +0000
commit978a89b79928342990c7da40c43a1cc9b84d3e7e (patch)
tree2e5c51d195242e06a59aa70487883cf045d23630 /dev-lang/ghc
parentmedia-libs/vulkan-layers: Remove unused CMake var (diff)
downloadgentoo-978a89b79928342990c7da40c43a1cc9b84d3e7e.tar.gz
gentoo-978a89b79928342990c7da40c43a1cc9b84d3e7e.tar.bz2
gentoo-978a89b79928342990c7da40c43a1cc9b84d3e7e.zip
dev-lang/ghc: unconditionally apply sphinx patch
Closes: https://bugs.gentoo.org/890563 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-lang/ghc')
-rw-r--r--dev-lang/ghc/ghc-9.0.2-r3.ebuild4
1 files changed, 3 insertions, 1 deletions
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"