diff options
author | 2017-02-16 10:25:51 +0000 | |
---|---|---|
committer | 2017-02-16 10:26:39 +0000 | |
commit | 6686dc7298afba5fc0a8daa6f6f97c400861e4b7 (patch) | |
tree | b06c6bd8dadf4abe6feb8a7e8118de1ca776cd53 /dev-haskell/constraints/files | |
parent | dev-haskell/th-expand-syns: bump up to 0.4.2.0 (diff) | |
download | gentoo-6686dc7298afba5fc0a8daa6f6f97c400861e4b7.tar.gz gentoo-6686dc7298afba5fc0a8daa6f6f97c400861e4b7.tar.bz2 gentoo-6686dc7298afba5fc0a8daa6f6f97c400861e4b7.zip |
dev-haskell/constraints: bump up to 0.8
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Diffstat (limited to 'dev-haskell/constraints/files')
-rw-r--r-- | dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch b/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch new file mode 100644 index 000000000000..1b2f8169c45d --- /dev/null +++ b/dev-haskell/constraints/files/constraints-0.4.1.3-ghc-8.patch @@ -0,0 +1,17 @@ +diff --git a/Data/Constraint.hs b/Data/Constraint.hs +index 84d67c0..a104f51 100644 +--- a/Data/Constraint.hs ++++ b/Data/Constraint.hs +@@ -79,3 +79,7 @@ import Data.Data + #endif ++#if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 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 + |