Description: Disable annotation without ghci
 Can be removed if ghc ignores annotation without an interpreter:
 http://hackage.haskell.org/trac/ghc/ticket/4268
Author: Joachim Breitner <nomeata@debian.org>
Bug-Debian: http://bugs.debian.org/640088
Forwarded: no

--- a/Data/Vector/Fusion/Stream/Monadic.hs
+++ b/Data/Vector/Fusion/Stream/Monadic.hs
@@ -95,8 +95,10 @@
 #if __GLASGOW_HASKELL__ >= 708
 import GHC.Types ( SPEC(..) )
 #elif __GLASGOW_HASKELL__ >= 700
+#ifndef DEBIAN_NO_GHCI
 import GHC.Exts ( SpecConstrAnnotation(..) )
 #endif
+#endif
 
 #include "vector.h"
 #include "MachDeps.h"
@@ -104,9 +106,11 @@
 #if __GLASGOW_HASKELL__ < 708
 data SPEC = SPEC | SPEC2
 #if __GLASGOW_HASKELL__ >= 700
+#ifndef DEBIAN_NO_GHCI
 {-# ANN type SPEC ForceSpecConstr #-}
 #endif
 #endif
+#endif
 
 emptyStream :: String
 {-# NOINLINE emptyStream #-}
