Gentoo Archives: gentoo-commits

From: Sergei Trofimovich <slyfox@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-haskell/shellish/files/, dev-haskell/shellish/
Date: Mon, 21 Sep 2015 19:52:11
Message-Id: 1442865122.a02ea22bcca692fa252bbf4d15d4ffb456321a47.slyfox@gentoo
1 commit: a02ea22bcca692fa252bbf4d15d4ffb456321a47
2 Author: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 21 19:51:23 2015 +0000
4 Commit: Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 21 19:52:02 2015 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a02ea22b
7
8 dev-haskell/shellish: tweak for ghc-7.10, bug #561028
9
10 Reported-by: Toralf Förster
11 Bug: https://bugs.gentoo.org/561028
12
13 Package-Manager: portage-2.2.20
14
15 dev-haskell/shellish/files/shellish-0.1.4-ghc-7.10.patch | 9 +++++++++
16 dev-haskell/shellish/shellish-0.1.4.ebuild | 6 +++++-
17 2 files changed, 14 insertions(+), 1 deletion(-)
18
19 diff --git a/dev-haskell/shellish/files/shellish-0.1.4-ghc-7.10.patch b/dev-haskell/shellish/files/shellish-0.1.4-ghc-7.10.patch
20 new file mode 100644
21 index 0000000..c756635
22 --- /dev/null
23 +++ b/dev-haskell/shellish/files/shellish-0.1.4-ghc-7.10.patch
24 @@ -0,0 +1,9 @@
25 +diff --git a/Shellish.hs b/Shellish.hs
26 +index 1e3c192..0ac20c2 100644
27 +--- a/Shellish.hs
28 ++++ b/Shellish.hs
29 +@@ -1,3 +1,3 @@
30 + {-# LANGUAGE ScopedTypeVariables, DeriveDataTypeable, OverloadedStrings,
31 +- MultiParamTypeClasses, FlexibleInstances #-}
32 ++ MultiParamTypeClasses, FlexibleInstances, FlexibleContexts #-}
33 +
34
35 diff --git a/dev-haskell/shellish/shellish-0.1.4.ebuild b/dev-haskell/shellish/shellish-0.1.4.ebuild
36 index 86f421a..f93d879 100644
37 --- a/dev-haskell/shellish/shellish-0.1.4.ebuild
38 +++ b/dev-haskell/shellish/shellish-0.1.4.ebuild
39 @@ -1,4 +1,4 @@
40 -# Copyright 1999-2012 Gentoo Foundation
41 +# Copyright 1999-2015 Gentoo Foundation
42 # Distributed under the terms of the GNU General Public License v2
43 # $Id$
44
45 @@ -24,3 +24,7 @@ RDEPEND="dev-haskell/mtl[profile?]
46 >=dev-lang/ghc-6.10.1"
47 DEPEND="${RDEPEND}
48 >=dev-haskell/cabal-1.6"
49 +
50 +src_prepare() {
51 + epatch "${FILESDIR}"/${P}-ghc-7.10.patch
52 +}