From 6686dc7298afba5fc0a8daa6f6f97c400861e4b7 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 16 Feb 2017 10:25:51 +0000 Subject: [PATCH] dev-haskell/constraints: bump up to 0.8 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- dev-haskell/constraints/Manifest | 1 + .../constraints/constraints-0.4.1.3.ebuild | 6 +++- .../constraints/constraints-0.8.ebuild | 30 +++++++++++++++++++ .../files/constraints-0.4.1.3-ghc-8.patch | 17 +++++++++++ 4 files changed, 53 insertions(+), 1 deletion(-) create mode 100644 dev-haskell/constraints/constraints-0.8.ebuild create mode 100644 dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch diff --git a/dev-haskell/constraints/Manifest b/dev-haskell/constraints/Manifest index d9a5a0e903dc..dccb0c062164 100644 --- a/dev-haskell/constraints/Manifest +++ b/dev-haskell/constraints/Manifest @@ -1 +1,2 @@ DIST constraints-0.4.1.3.tar.gz 7311 SHA256 dd4353b66c85980363050566a13d17ad0216f072a06f207cb8d36530ded67af0 SHA512 0478c69be6a719b83d536aef7733d7383f5400a234829f49146597f89339d3aee46455f3f5001dfc213e07c116276699bf970a657051f3dddb8ab2d9f9593836 WHIRLPOOL b780fa13817bf75ec0e7ec8e9df484a7447332b7dd61c2566ed7119256249a81757de80b1836648de00aca3e77d2a04580c35d51cc40405ad0f1a2611e13bad1 +DIST constraints-0.8.tar.gz 12348 SHA256 4cd08765345a151f21a0a4c5ef0a85661f4e53ffe807a623d5502d9ed3ae1588 SHA512 8cd6f16e70657f95f6d9b0824f85e5991d7da85852a1664abf8b99f95ab85456ecda09f3e59577019284358c09b198d298d01ff152acb3086121521ee302e665 WHIRLPOOL 2d51af561daf6f38a36b356fa2b8dd6fbf594343b4e0cccdb114c4f3d7d253547728535788d6c59c3de39e3e7175eaa84ab2b8358cbdc955b1784980503d0411 diff --git a/dev-haskell/constraints/constraints-0.4.1.3.ebuild b/dev-haskell/constraints/constraints-0.4.1.3.ebuild index f268679a49e9..c645e3be9298 100644 --- a/dev-haskell/constraints/constraints-0.4.1.3.ebuild +++ b/dev-haskell/constraints/constraints-0.4.1.3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -24,3 +24,7 @@ RDEPEND=">=dev-haskell/newtype-0.2:=[profile?] = 707 ++import GHC.Exts (Constraint) ++#else + import GHC.Prim (Constraint) ++#endif + +@@ -375,3 +379,3 @@ instance Class () (b :=> a) where cls = Sub Dict + instance Class b a => () :=> Class b a where ins = Sub Dict +-instance (b :=> a) => () :=> b :=> a where ins = Sub Dict ++instance (b :=> a) => () :=> (b :=> a) where ins = Sub Dict + -- 2.26.2