summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Wright <gienah@gentoo.org>2012-06-02 06:24:48 +0000
committerMark Wright <gienah@gentoo.org>2012-06-02 06:24:48 +0000
commit1f384dbe3a86f24df312829b18e670cea4b9ee5e (patch)
tree7e4b87b2db36cda19ae614da739527feacd2eda1 /dev-haskell
parentVersion bump. (diff)
downloadgentoo-2-1f384dbe3a86f24df312829b18e670cea4b9ee5e.tar.gz
gentoo-2-1f384dbe3a86f24df312829b18e670cea4b9ee5e.tar.bz2
gentoo-2-1f384dbe3a86f24df312829b18e670cea4b9ee5e.zip
EAPI=4 on line 5, patch for ghc 7.5 dev snapshot
(Portage version: 2.1.10.63/cvs/Linux x86_64)
Diffstat (limited to 'dev-haskell')
-rw-r--r--dev-haskell/base-unicode-symbols/ChangeLog7
-rw-r--r--dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild13
-rw-r--r--dev-haskell/base-unicode-symbols/files/base-unicode-symbols-0.2.2.3-ghc-7.5.patch87
3 files changed, 102 insertions, 5 deletions
diff --git a/dev-haskell/base-unicode-symbols/ChangeLog b/dev-haskell/base-unicode-symbols/ChangeLog
index 120971077240..0c7479535324 100644
--- a/dev-haskell/base-unicode-symbols/ChangeLog
+++ b/dev-haskell/base-unicode-symbols/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-haskell/base-unicode-symbols
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base-unicode-symbols/ChangeLog,v 1.2 2012/04/02 17:02:04 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base-unicode-symbols/ChangeLog,v 1.3 2012/06/02 06:24:48 gienah Exp $
+
+ 02 Jun 2012; Mark Wright <gienah@gentoo.org>
+ +files/base-unicode-symbols-0.2.2.3-ghc-7.5.patch,
+ base-unicode-symbols-0.2.2.3.ebuild:
+ EAPI=4 on line 5, patch for ghc 7.5 dev snapshot
*base-unicode-symbols-0.2.2.3 (02 Apr 2012)
diff --git a/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild b/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild
index f78b09fff2e5..47bf675eb502 100644
--- a/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild
+++ b/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild
@@ -1,10 +1,8 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild,v 1.1 2012/04/02 17:02:03 slyfox Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-haskell/base-unicode-symbols/base-unicode-symbols-0.2.2.3.ebuild,v 1.2 2012/06/02 06:24:48 gienah Exp $
-# ebuild generated by hackport 0.2.14
-
-EAPI="3"
+EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
inherit haskell-cabal
@@ -21,3 +19,10 @@ IUSE=""
RDEPEND=">=dev-lang/ghc-6.8.2"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.6"
+
+src_prepare() {
+ if has_version ">=dev-lang/ghc-7.5.20120511"; then
+ # change the unicode -> to ascii ->
+ epatch "${FILESDIR}/${PN}-0.2.2.3-ghc-7.5.patch"
+ fi
+}
diff --git a/dev-haskell/base-unicode-symbols/files/base-unicode-symbols-0.2.2.3-ghc-7.5.patch b/dev-haskell/base-unicode-symbols/files/base-unicode-symbols-0.2.2.3-ghc-7.5.patch
new file mode 100644
index 000000000000..99867402234a
--- /dev/null
+++ b/dev-haskell/base-unicode-symbols/files/base-unicode-symbols-0.2.2.3-ghc-7.5.patch
@@ -0,0 +1,87 @@
+--- base-unicode-symbols-0.2.2.3-orig/Control/Arrow/Unicode.hs 2011-12-17 22:21:02.000000000 +1100
++++ base-unicode-symbols-0.2.2.3/Control/Arrow/Unicode.hs 2012-05-14 00:13:42.547126948 +1000
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE CPP, NoImplicitPrelude, UnicodeSyntax, TypeOperators #-}
++{-# LANGUAGE CPP, NoImplicitPrelude, UnicodeSyntax, TypeOperators, FlexibleContexts #-}
+
+ {-|
+ Module : Control.Arrow.Unicode
+@@ -58,7 +58,7 @@
+
+ U+2042, ASTERISM
+ -}
+-(⁂) ∷ Arrow (⇝) ⇒ (α ⇝ β) → (α' ⇝ β') → (α, α') ⇝ (β, β')
++(⁂) ∷ Arrow (->) ⇒ (α -> β) → (α' -> β') → (α, α') -> (β, β')
+ (⁂) = (***)
+ {-# INLINE (⁂) #-}
+ #endif
+@@ -68,7 +68,7 @@
+
+ U+29FB, TRIPLE PLUS
+ -}
+-(⧻) ∷ ArrowChoice (⇝) ⇒ (α ⇝ β) → (α' ⇝ β') → (Either α α' ⇝ Either β β')
++(⧻) ∷ ArrowChoice (->) ⇒ (α -> β) → (α' -> β') → (Either α α' -> Either β β')
+ (⧻) = (+++)
+ {-# INLINE (⧻) #-}
+
+@@ -77,7 +77,7 @@
+
+ U+2AF4, TRIPLE VERTICAL BAR BINARY RELATION
+ -}
+-(⫴) ∷ ArrowChoice (⇝) ⇒ (α ⇝ δ) → (β ⇝ δ) → (Either α β ⇝ δ)
++(⫴) ∷ ArrowChoice (->) ⇒ (α -> δ) → (β -> δ) → (Either α β -> δ)
+ (⫴) = (|||)
+ {-# INLINE (⫴) #-}
+
+@@ -87,7 +87,7 @@
+
+ U+22D9, VERY MUCH GREATER-THAN
+ -}
+-(⋙) ∷ Arrow (⇝) ⇒ (α ⇝ β) → (β ⇝ γ) → (α ⇝ γ)
++(⋙) ∷ Arrow (->) ⇒ (α -> β) → (β -> γ) → (α -> γ)
+ (⋙) = (>>>)
+ {-# INLINE (⋙) #-}
+
+@@ -96,7 +96,7 @@
+
+ U+22D8, VERY MUCH LESS-THAN
+ -}
+-(⋘) ∷ Arrow (⇝) ⇒ (β ⇝ γ) → (α ⇝ β) → (α ⇝ γ)
++(⋘) ∷ Arrow (->) ⇒ (β -> γ) → (α -> β) → (α -> γ)
+ (⋘) = (<<<)
+ {-# INLINE (⋘) #-}
+ #endif
+--- base-unicode-symbols-0.2.2.3-orig/Control/Category/Unicode.hs 2011-12-17 22:21:02.000000000 +1100
++++ base-unicode-symbols-0.2.2.3/Control/Category/Unicode.hs 2012-05-14 00:13:19.067598372 +1000
+@@ -1,4 +1,4 @@
+-{-# LANGUAGE NoImplicitPrelude, UnicodeSyntax, TypeOperators #-}
++{-# LANGUAGE NoImplicitPrelude, UnicodeSyntax, TypeOperators, FlexibleContexts #-}
+
+ {-|
+ Module : Control.Category.Unicode
+@@ -35,7 +35,7 @@
+
+ U+2218, RING OPERATOR
+ -}
+-(∘) ∷ Category (⇝) ⇒ (β ⇝ γ) → (α ⇝ β) → (α ⇝ γ)
++(∘) ∷ Category (->) ⇒ (β -> γ) → (α -> β) → (α -> γ)
+ (∘) = (.)
+ {-# INLINE (∘) #-}
+
+@@ -44,7 +44,7 @@
+
+ U+22D9, VERY MUCH GREATER-THAN
+ -}
+-(⋙) ∷ Category (⇝) ⇒ (α ⇝ β) → (β ⇝ γ) → (α ⇝ γ)
++(⋙) ∷ Category (->) ⇒ (α -> β) → (β -> γ) → (α -> γ)
+ (⋙) = (>>>)
+ {-# INLINE (⋙) #-}
+
+@@ -53,6 +53,6 @@
+
+ U+22D8, VERY MUCH LESS-THAN
+ -}
+-(⋘) ∷ Category (⇝) ⇒ (β ⇝ γ) → (α ⇝ β) → (α ⇝ γ)
++(⋘) ∷ Category (->) ⇒ (β -> γ) → (α -> β) → (α -> γ)
+ (⋘) = (<<<)
+ {-# INLINE (⋘) #-}