Permalink
Browse files

Modify OpenCLWrappers to accept on mtl-2.1.

  • Loading branch information...
1 parent 0c4054f commit 8d15efdd16c595ad48eaeee2a78ae68ce04be123 @jkarlson jkarlson committed Apr 14, 2012
@@ -1,3 +1,4 @@
+AUX openclwrappers-0.1.0.1-mtl-2.1.patch 404 RMD160 7482df8ad7ccb207365f8c4b06fa947d99a4d04a SHA1 0c67c1d78d7f1f2c08f2023f5631eb8dafc82802 SHA256 a12899fd7bfb9138060a7cbbd08f84ddd88ef6bca291aa7287cb04404ec6ae4e
DIST OpenCLWrappers-0.1.0.1.tar.gz 17638 RMD160 c10c14204f61b9bad1ff8ed3a9125b295e56e3a2 SHA1 0eeb1904bd152b26549a150ce4b03645335a0928 SHA256 c5937e4e64a030ecb40cea838d2dcc4a4b87a2f3891147316ba9b3b4216c4d83
-EBUILD openclwrappers-0.1.0.1.ebuild 783 RMD160 7eb91b79c5e5461a536bd5de707ab03aa4fca0f1 SHA1 dbac72dfa913ddd35c506752f37e079c9172f252 SHA256 82cdbdbdd5ddb434966221ad82379ee272fe790717c9a4f9bc60f52da03119d5
-MISC metadata.xml 417 RMD160 a52958be25fa41b65283c729d94627c057491960 SHA1 3c767c19b0df99125794de5586a728ba915161d9 SHA256 c16281ac4ca1fdca9daaf384183fa34a355b6b385512c27d3a93387aace8c0dd
+EBUILD openclwrappers-0.1.0.1-r1.ebuild 850 RMD160 3782824e6c6a3a7e5cefac24889e827a3f10c898 SHA1 008681d2b53deb0b288acc95725ff96d17ee11b0 SHA256 57a54e096a97965bc7532775657de626b24e1844bdea44f47cd8e6e882c94b85
+MISC metadata.xml 233 RMD160 a74d649d1252bf57e760f416cb97fe5192f304a3 SHA1 8dd352404742e2c36e2bb5a05649641e754964f6 SHA256 9d06b7afdbc3f4c40b2d30c88d331d3fc62b6a2c35040693df146b502fed5653
@@ -0,0 +1,13 @@
+diff --git a/OpenCLWrappers.cabal b/OpenCLWrappers.cabal
+index 5ec09ab..1be4ef0 100644
+--- a/OpenCLWrappers.cabal
++++ b/OpenCLWrappers.cabal
+@@ -41,7 +41,7 @@ Library
+ System.OpenCL.Wrappers
+ build-depends: base < 4.6,
+ bytestring -any,
+- mtl >= 2 && < 2.1
++ mtl >= 2 && < 2.2
+ exposed: True
+ buildable: True
+ hs-source-dirs: .
@@ -7,7 +7,7 @@
EAPI=4
CABAL_FEATURES="lib profile haddock hoogle hscolour"
-inherit haskell-cabal
+inherit base haskell-cabal
MY_PN="OpenCLWrappers"
MY_P="${MY_PN}-${PV}"
@@ -22,14 +22,16 @@ KEYWORDS="~amd64 ~x86"
IUSE=""
RDEPEND=">=dev-haskell/mtl-2
- <dev-haskell/mtl-2.1
+ <dev-haskell/mtl-2.2
>=dev-lang/ghc-6.8.2
virtual/opencl"
DEPEND="${RDEPEND}
>=dev-haskell/cabal-1.2"
S="${WORKDIR}/${MY_P}"
+PATCHES=("${FILESDIR}/openclwrappers-0.1.0.1-mtl-2.1.patch")
+
src_configure() {
cabal_src_configure --flags=link
}

0 comments on commit 8d15efd

Please sign in to comment.