Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Bump geniplate to 0.6.0.2, apply patch for ghc 7.6.1

  • Loading branch information...
commit a987c8e753047bcfbd0102e48fb1e2cec09f6ff3 1 parent a88052d
Mark Wright markwright authored
2  dev-haskell/geniplate/Manifest
View
@@ -1 +1 @@
-DIST geniplate-0.6.0.1.tar.gz 6820 SHA256 35006a9b2e83d3bcf97dc0a8d51e20c4b3fd4742b3eae7a55ef747a888826a1b SHA512 8ae472341d1ce3f1c7bf5ebb6d04c5a2949466145c0d818d90f24b0f929a2ab5226cbfd490cf6a4c69c7b7765d8e96efe5e69666df418a890de1784721ba0719 WHIRLPOOL 2d38fbfc9c8fcc6976604ba36d3e0c81e452ac4a1763eb75baeb16f723c7e9bbf09b284d6146d8516ae390bb0760d08a0afd57be17d1ea349d5108d77cc12c53
+DIST geniplate-0.6.0.2.tar.gz 6558 SHA256 eb8908ed0bbecac0ed4e0bd0b044ad154abd8e2eecbc879ce11c3ac26defa5b8 SHA512 aeb827b6462b737bf09e3e7cc945ab8c5155fef7b2845c0a12a3fd89e58a82b7c2dd062f4e2496c111b005ed3a590aabf1d61704faff35b5080cc54f012b43c1 WHIRLPOOL 68cbee7d7f0cb0c2e26c66569a9fc18d4ee9b0862485052261d18c9f2bcceb926162b221624717e75c04efb79014a22a8c4c2af4748d769b80f88be4cae9bf80
27 dev-haskell/geniplate/files/geniplate-0.6.0.2-ghc-7.6.patch
View
@@ -0,0 +1,27 @@
+--- geniplate-0.6.0.2-orig/Data/Generics/Geniplate.hs 2012-10-06 21:06:29.000000000 +1000
++++ geniplate-0.6.0.2/Data/Generics/Geniplate.hs 2012-10-12 12:30:44.966103776 +1100
+@@ -1,4 +1,5 @@
+-{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances, PatternGuards #-}
++{-# LANGUAGE TemplateHaskell, MultiParamTypeClasses, FlexibleInstances,
++ TypeSynonymInstances, PatternGuards, CPP #-}
+ module Data.Generics.Geniplate(
+ genUniverseBi, genUniverseBiT,
+ genTransformBi, genTransformBiT,
+@@ -134,9 +135,17 @@
+ qReport b = lift . qReport b
+ qRecover = error "Data.Generics.Geniplate: qRecover not implemented"
+ qReify = lift . qReify
++#if MIN_VERSION_template_haskell(2,7,0)
++ qReifyInstances n = lift . qReifyInstances n
++#elif MIN_VERSION_template_haskell(2,5,0)
+ qClassInstances n = lift . qClassInstances n
++#endif
+ qLocation = lift qLocation
+ qRunIO = lift . qRunIO
++#if MIN_VERSION_template_haskell(2,7,0)
++ qLookupName ns = lift . qLookupName ns
++ qAddDependentFile = lift . qAddDependentFile
++#endif
+
+ uniBiQ :: [TypeQ] -> Type -> Type -> Q ([Dec], Exp)
+ uniBiQ stops from ato = do
11 dev-haskell/geniplate/geniplate-0.6.0.1.ebuild → dev-haskell/geniplate/geniplate-0.6.0.2.ebuild
View
@@ -2,12 +2,12 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-# ebuild generated by hackport 0.2.17.9999
-
EAPI=4
+# ebuild generated by hackport 0.2.18.9999
+
CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
+inherit base haskell-cabal
DESCRIPTION="Use template Haskell to generate Uniplate-like functions."
HOMEPAGE="http://hackage.haskell.org/package/geniplate"
@@ -23,7 +23,4 @@ RDEPEND="dev-haskell/mtl[profile?]
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
-src_prepare() {
- sed -e 's@template-haskell < 2.8@template-haskell < 2.9@' \
- -i "${S}/${PN}.cabal" || die "Could not loosen dependencies"
-}
+PATCHES=("${FILESDIR}/${PN}-0.6.0.2-ghc-7.6.patch")
Please sign in to comment.
Something went wrong with that request. Please try again.