summaryrefslogtreecommitdiffstats
path: root/tools/ghc-vector/vector-debian-no_ann_without_ghci.patch
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ghc-vector/vector-debian-no_ann_without_ghci.patch')
-rw-r--r--tools/ghc-vector/vector-debian-no_ann_without_ghci.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/tools/ghc-vector/vector-debian-no_ann_without_ghci.patch b/tools/ghc-vector/vector-debian-no_ann_without_ghci.patch
new file mode 100644
index 0000000..21582db
--- /dev/null
+++ b/tools/ghc-vector/vector-debian-no_ann_without_ghci.patch
@@ -0,0 +1,24 @@
+ http://hackage.haskell.org/trac/ghc/ticket/4268
+
+--- haskell-vector-0.9.1.orig/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:48:51.000000000 +0100
++++ haskell-vector-0.9.1/Data/Vector/Fusion/Stream/Monadic.hs 2012-02-10 23:49:04.000000000 +0100
+@@ -94,15 +94,19 @@
+ import Data.Word ( Word8, Word16, Word32, Word, Word64 )
+
+ #if __GLASGOW_HASKELL__ >= 700
++#if 0
+ import GHC.Exts ( SpecConstrAnnotation(..) )
+ #endif
++#endif
+
+ #include "vector.h"
+
+ data SPEC = SPEC | SPEC2
+ #if __GLASGOW_HASKELL__ >= 700
++#if 0
+ {-# ANN type SPEC ForceSpecConstr #-}
+ #endif
++#endif
+
+ emptyStream :: String
+ {-# NOINLINE emptyStream #-}