1 |
commit: 1898ff1cd6f8f4ee056e1b7d4b75f398c97851e0 |
2 |
Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Sep 27 18:40:04 2015 +0000 |
4 |
Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Sep 27 18:40:15 2015 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1898ff1c |
7 |
|
8 |
dev-haskell/biosff: port to ghc-7.10, bug #561348 |
9 |
|
10 |
Bug: https://bugs.gentoo.org/561348 |
11 |
Reported-by: Toralf Förster |
12 |
|
13 |
Package-Manager: portage-2.2.22 |
14 |
|
15 |
dev-haskell/biosff/biosff-0.3.7.1.ebuild | 4 ++++ |
16 |
dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch | 7 +++++++ |
17 |
2 files changed, 11 insertions(+) |
18 |
|
19 |
diff --git a/dev-haskell/biosff/biosff-0.3.7.1.ebuild b/dev-haskell/biosff/biosff-0.3.7.1.ebuild |
20 |
index 0b7b391..50d56c2 100644 |
21 |
--- a/dev-haskell/biosff/biosff-0.3.7.1.ebuild |
22 |
+++ b/dev-haskell/biosff/biosff-0.3.7.1.ebuild |
23 |
@@ -28,6 +28,10 @@ DEPEND="${RDEPEND} |
24 |
>=dev-haskell/cabal-1.6 |
25 |
" |
26 |
|
27 |
+src_prepare() { |
28 |
+ epatch "${FILESDIR}"/${P}-ghc-7.10.patch |
29 |
+} |
30 |
+ |
31 |
src_configure() { |
32 |
haskell-cabal_src_configure \ |
33 |
$(cabal_flag fclip fclip) \ |
34 |
|
35 |
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 |
36 |
new file mode 100644 |
37 |
index 0000000..48c2935 |
38 |
--- /dev/null |
39 |
+++ b/dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch |
40 |
@@ -0,0 +1,7 @@ |
41 |
+diff --git a/src/Flower/Main.hs b/src/Flower/Main.hs |
42 |
+index b0cbd1c..3428db5 100644 |
43 |
+--- a/src/Flower/Main.hs |
44 |
++++ b/src/Flower/Main.hs |
45 |
+@@ -1 +1,2 @@ |
46 |
++{-# LANGUAGE FlexibleContexts #-} |
47 |
+ -- FlowEr - FLOWgram ExtractoR |