dev-haskell/classy-prelude: fix build failure, bug #575244

mono-traversable-0.9.3 introduces it's own intercalate.

Reported-by: Toralf Förster
Bug: https://bugs.gentoo.org/575244

Package-Manager: portage-2.2.27
This commit is contained in:
Sergei Trofimovich
2016-02-20 20:49:31 +00:00
parent e546fea047
commit 7872e19528
2 changed files with 14 additions and 0 deletions

View File

@@ -45,3 +45,7 @@ DEPEND="${RDEPEND}
test? ( >=dev-haskell/hspec-1.3
dev-haskell/quickcheck )
"
src_prepare() {
epatch "${FILESDIR}"/${P}-mt-0.9.3.patch
}

View File

@@ -0,0 +1,10 @@
https://bugs.gentoo.org/575244
diff --git a/ClassyPrelude.hs b/ClassyPrelude.hs
index a6c0db4..27173aa 100644
--- a/ClassyPrelude.hs
+++ b/ClassyPrelude.hs
@@ -193,3 +193,3 @@ import Data.ChunkedZip
import qualified Data.Char as Char
-import Data.Sequences hiding (elem)
+import Data.Sequences hiding (elem, intercalate)
import Data.MonoTraversable