blob: 5ab00fde65d7887ca237b29fee3614f7057f22cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
Description: Patch out ANN pragma if GHCi is not available
Author: Joachim Breitner <nomeata@debian.org>
--- haskell-uniplate-1.6.11.orig/Data/Generics/Uniplate/Internal/Utils.hs
+++ haskell-uniplate-1.6.11/Data/Generics/Uniplate/Internal/Utils.hs
@@ -24,8 +24,10 @@ import GHC.IO(IO(IO))
#if __GLASGOW_HASKELL__ >= 701
import GHC.Exts(SpecConstrAnnotation(..))
+#ifndef DEBIAN_NO_GHCI
{-# ANN type SPEC ForceSpecConstr #-}
#endif
+#endif
{-# INLINE builder #-}
|