diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 21:03:06 +0100 |
commit | 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch) | |
tree | 7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-haskell/semigroups/files | |
parent | 30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/semigroups/files')
-rw-r--r-- | dev-haskell/semigroups/files/semigroups-0.15.1-trust.patch | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/dev-haskell/semigroups/files/semigroups-0.15.1-trust.patch b/dev-haskell/semigroups/files/semigroups-0.15.1-trust.patch new file mode 100644 index 000000000000..ff66afa91a6e --- /dev/null +++ b/dev-haskell/semigroups/files/semigroups-0.15.1-trust.patch @@ -0,0 +1,32 @@ +commit 118b29f5404014d0a627767a4c7e8de4f00f9fce +Author: João Cristóvão <jmacristovao@gmail.com> +Date: Wed Jul 23 12:27:29 2014 +0100 + + If GHC >= 7.8 module is always Thrustworthy, never safe, due to GHC.Exts + +diff --git a/src/Data/List/NonEmpty.hs b/src/Data/List/NonEmpty.hs +index 8a28020..f3c2db5 100644 +--- a/src/Data/List/NonEmpty.hs ++++ b/src/Data/List/NonEmpty.hs +@@ -1,7 +1,7 @@ + {-# LANGUAGE CPP #-} + + #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702 +-#ifdef MIN_VERSION_hashable ++#if defined(MIN_VERSION_hashable) || __GLASGOW_HASKELL__ >= 708 + {-# LANGUAGE Trustworthy #-} + #else + {-# LANGUAGE Safe #-} +diff --git a/src/Data/Semigroup.hs b/src/Data/Semigroup.hs +index 7d41775..88fcbb0 100644 +--- a/src/Data/Semigroup.hs ++++ b/src/Data/Semigroup.hs +@@ -8,7 +8,7 @@ + #if defined(__GLASGOW_HASKELL__) && __GLASGOW_HASKELL__ >= 702 + #define LANGUAGE_DefaultSignatures + {-# LANGUAGE DefaultSignatures #-} +-#ifdef MIN_VERSION_hashable ++#if defined(MIN_VERSION_hashable) || __GLASGOW_HASKELL__ >= 708 + {-# LANGUAGE Trustworthy #-} + #else + {-# LANGUAGE Safe #-} |