diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-haskell/vector-algorithms/files | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-haskell/vector-algorithms/files')
-rw-r--r-- | dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch | 21 | ||||
-rw-r--r-- | dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch | 44 |
2 files changed, 0 insertions, 65 deletions
diff --git a/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch b/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch deleted file mode 100644 index edabcf2e8b54..000000000000 --- a/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch +++ /dev/null @@ -1,21 +0,0 @@ ---- vector-algorithms-0.5.4.1-orig/vector-algorithms.cabal 2012-08-16 06:39:54.000000000 +1000 -+++ vector-algorithms-0.5.4.1/vector-algorithms.cabal 2012-08-17 17:05:37.875993915 +1000 -@@ -52,9 +52,15 @@ - FlexibleContexts, - CPP - -- GHC-Options: -- -Odph -- -funbox-strict-fields -+ if impl(ghc >= 7.4.0) -+ GHC-Options: -+ -Odph -+ -funbox-strict-fields -+ -fsimpl-tick-factor=153 -+ else -+ GHC-Options: -+ -Odph -+ -funbox-strict-fields - - Include-Dirs: - include diff --git a/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch b/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch deleted file mode 100644 index 3616dd76d82c..000000000000 --- a/dev-haskell/vector-algorithms/files/vector-algorithms-0.7.0.1-ghc-8.0.2_rc1.patch +++ /dev/null @@ -1,44 +0,0 @@ -diff --git a/tests/properties/Tests.hs b/tests/properties/Tests.hs -index a0b7d35..8fcfd36 100644 ---- a/tests/properties/Tests.hs -+++ b/tests/properties/Tests.hs -@@ -1,2 +1,2 @@ --{-# LANGUAGE ImpredicativeTypes, RankNTypes, TypeOperators, FlexibleContexts #-} -+{-# LANGUAGE ImpredicativeTypes, RankNTypes, TypeOperators, FlexibleContexts, ScopedTypeVariables #-} - -@@ -44,4 +44,4 @@ args = stdArgs - --check_Int_sort = forM_ algos $ \(name,algo) -> -- quickCheckWith args (label name . prop_fullsort algo) -+check_Int_sort = forM_ algos (\(name,algo :: Algo Int ()) -> -+ quickCheckWith args (label name . prop_fullsort algo)) - where -@@ -55,4 +55,4 @@ check_Int_sort = forM_ algos $ \(name,algo) -> - --check_Int_partialsort = forM_ algos $ \(name,algo) -> -- quickCheckWith args (label name . prop_partialsort algo) -+check_Int_partialsort = forM_ algos (\(name,algo :: SizeAlgo Int ()) -> -+ quickCheckWith args (label name . prop_partialsort algo)) - where -@@ -63,4 +63,4 @@ check_Int_partialsort = forM_ algos $ \(name,algo) -> - --check_Int_select = forM_ algos $ \(name,algo) -> -- quickCheckWith args (label name . prop_select algo) -+check_Int_select = forM_ algos (\(name,algo :: SizeAlgo Int ()) -> -+ quickCheckWith args (label name . prop_select algo)) - where -@@ -119,10 +119,10 @@ check_permutation = do - qc $ label "introsort" . prop_permutation (INT.sort :: Algo Int ()) -- qc $ label "intropartial" . prop_sized (const . prop_permutation) -+ qc $ label "intropartial" . prop_sized (\x -> const (prop_permutation x)) - (INT.partialSort :: SizeAlgo Int ()) -- qc $ label "introselect" . prop_sized (const . prop_permutation) -+ qc $ label "introselect" . prop_sized (\x -> const (prop_permutation x)) - (INT.select :: SizeAlgo Int ()) - qc $ label "heapsort" . prop_permutation (H.sort :: Algo Int ()) -- qc $ label "heappartial" . prop_sized (const . prop_permutation) -+ qc $ label "heappartial" . prop_sized (\x -> const (prop_permutation x)) - (H.partialSort :: SizeAlgo Int ()) -- qc $ label "heapselect" . prop_sized (const . prop_permutation) -+ qc $ label "heapselect" . prop_sized (\x -> const (prop_permutation x)) - (H.select :: SizeAlgo Int ()) |