diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-11 22:58:10 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2021-05-11 22:58:32 +0100 |
commit | 6e2b2dd1d0e4d93b5e8e046f7d7ab2fc10392457 (patch) | |
tree | b902a16a5896da9e171aab7d9414cc4e9d3a81a9 /app-text/pandoc | |
parent | dev-haskell/semirings: require ghc[gmp] (diff) | |
download | gentoo-6e2b2dd1d0e4d93b5e8e046f7d7ab2fc10392457.tar.gz gentoo-6e2b2dd1d0e4d93b5e8e046f7d7ab2fc10392457.tar.bz2 gentoo-6e2b2dd1d0e4d93b5e8e046f7d7ab2fc10392457.zip |
app-text/pandoc: add 'text' depend to 'trypandoc'
Reported-by: Toralf Förster
Closes: https://bugs.gentoo.org/785268
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'app-text/pandoc')
-rw-r--r-- | app-text/pandoc/files/pandoc-2.13-trypandoc.patch | 12 | ||||
-rw-r--r-- | app-text/pandoc/pandoc-2.13.ebuild | 2 |
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 |