From 1898ff1cd6f8f4ee056e1b7d4b75f398c97851e0 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Sun, 27 Sep 2015 19:40:04 +0100 Subject: [PATCH] dev-haskell/biosff: port to ghc-7.10, bug #561348 MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit 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 | 4 ++++ dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch | 7 +++++++ 2 files changed, 11 insertions(+) create mode 100644 dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch diff --git a/dev-haskell/biosff/biosff-0.3.7.1.ebuild b/dev-haskell/biosff/biosff-0.3.7.1.ebuild index 0b7b3912f571..50d56c255780 100644 --- a/dev-haskell/biosff/biosff-0.3.7.1.ebuild +++ b/dev-haskell/biosff/biosff-0.3.7.1.ebuild @@ -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 index 000000000000..48c29358ca7c --- /dev/null +++ b/dev-haskell/biosff/files/biosff-0.3.7.1-ghc-7.10.patch @@ -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 -- 2.26.2