summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-text/pandoc')
-rw-r--r--app-text/pandoc/files/pandoc-2.13-trypandoc.patch12
-rw-r--r--app-text/pandoc/pandoc-2.13.ebuild2
2 files changed, 14 insertions, 0 deletions
diff --git a/app-text/pandoc/files/pandoc-2.13-trypandoc.patch b/app-text/pandoc/files/pandoc-2.13-trypandoc.patch
new file mode 100644
index 000000000000..1a0dacce99bc
--- /dev/null
+++ b/app-text/pandoc/files/pandoc-2.13-trypandoc.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/785268
+--- a/pandoc.cabal
++++ b/pandoc.cabal
+@@ -729,7 +729,7 @@ executable trypandoc
+ main-is: trypandoc.hs
+ hs-source-dirs: trypandoc
+ if flag(trypandoc)
+- build-depends: aeson, http-types, wai >= 0.3, wai-extra >= 3.0.24
++ build-depends: aeson, http-types, wai >= 0.3, wai-extra >= 3.0.24, text
+ buildable: True
+ else
+ buildable: False
diff --git a/app-text/pandoc/pandoc-2.13.ebuild b/app-text/pandoc/pandoc-2.13.ebuild
index 72c73a65465f..f0ae5e9a8249 100644
--- a/app-text/pandoc/pandoc-2.13.ebuild
+++ b/app-text/pandoc/pandoc-2.13.ebuild
@@ -94,6 +94,8 @@ DEPEND="${RDEPEND}
>=dev-haskell/tasty-quickcheck-0.8 <dev-haskell/tasty-quickcheck-0.11 )
"
+PATCHES=("${FILESDIR}"/${P}-trypandoc.patch)
+
src_prepare() {
default
# optimisations require ~16GB of memory on ghc-8.8.3