dev-haskell/biosff: port to ghc-7.10, bug #561348
authorSergei Trofimovich <slyfox@gentoo.org>
Sun, 27 Sep 2015 18:40:04 +0000 (19:40 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sun, 27 Sep 2015 18:40:15 +0000 (19:40 +0100)
Bug: https://bugs.gentoo.org/561348
Reported-by: Toralf Förster
Package-Manager: portage-2.2.22

dev-haskell/biosff/biosff-0.3.7.1.ebuild
dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch [new file with mode: 0644]

index 0b7b3912f571278df9dc445d5e87aec35ca581bd..50d56c255780387cd116c84231b9a11d0a3fa656 100644 (file)
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND}
        >=dev-haskell/cabal-1.6
 "
 
+src_prepare() {
+       epatch "${FILESDIR}"/${P}-ghc-7.10.patch
+}
+
 src_configure() {
        haskell-cabal_src_configure \
                $(cabal_flag fclip fclip) \
diff --git a/dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch b/dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch
new file mode 100644 (file)
index 0000000..48c2935
--- /dev/null
@@ -0,0 +1,7 @@
+diff --git a/src/Flower/Main.hs b/src/Flower/Main.hs
+index b0cbd1c..3428db5 100644
+--- a/src/Flower/Main.hs
++++ b/src/Flower/Main.hs
+@@ -1 +1,2 @@
++{-# LANGUAGE FlexibleContexts #-}
+ -- FlowEr - FLOWgram ExtractoR