summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch')
-rw-r--r--dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch21
1 files changed, 21 insertions, 0 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
new file mode 100644
index 000000000000..edabcf2e8b54
--- /dev/null
+++ b/dev-haskell/vector-algorithms/files/vector-algorithms-0.5.4.1-ghc-7.4.patch
@@ -0,0 +1,21 @@
+--- 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