[Pkg-haskell-commits] darcs: haskell-uniplate: Patch out ANN pragma on architectures without GHCi
Joachim Breitner
mail at joachim-breitner.de
Wed Oct 23 18:45:42 UTC 2013
Wed Oct 23 18:43:18 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Patch out ANN pragma on architectures without GHCi
M ./changelog +6
A ./patches/
A ./patches/no-annotations-without-ghci
A ./patches/series
Wed Oct 23 18:43:18 UTC 2013 Joachim Breitner <mail at joachim-breitner.de>
* Patch out ANN pragma on architectures without GHCi
diff -rN -u old-haskell-uniplate/changelog new-haskell-uniplate/changelog
--- old-haskell-uniplate/changelog 2013-10-23 18:45:41.958040084 +0000
+++ new-haskell-uniplate/changelog 2013-10-23 18:45:41.978039592 +0000
@@ -1,3 +1,9 @@
+haskell-uniplate (1.6.11-2) UNRELEASED; urgency=low
+
+ * Patch out ANN pragma on architectures without GHCi
+
+ -- Joachim Breitner <nomeata at debian.org> Wed, 23 Oct 2013 20:42:58 +0200
+
haskell-uniplate (1.6.11-1) unstable; urgency=low
[ Joachim Breitner ]
diff -rN -u old-haskell-uniplate/patches/no-annotations-without-ghci new-haskell-uniplate/patches/no-annotations-without-ghci
--- old-haskell-uniplate/patches/no-annotations-without-ghci 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-uniplate/patches/no-annotations-without-ghci 2013-10-23 18:45:41.966041124 +0000
@@ -0,0 +1,16 @@
+Description: Patch out ANN pragma if GHCi is not available
+Author: Joachim Breitner <nomeata at 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 #-}
diff -rN -u old-haskell-uniplate/patches/series new-haskell-uniplate/patches/series
--- old-haskell-uniplate/patches/series 1970-01-01 00:00:00.000000000 +0000
+++ new-haskell-uniplate/patches/series 2013-10-23 18:45:41.966041124 +0000
@@ -0,0 +1 @@
+no-annotations-without-ghci
More information about the Pkg-haskell-commits
mailing list