[DHG_packages] 21/101: asn1-data: GHC 7.10 compat patches

Joachim Breitner nomeata at moszumanska.debian.org
Sun Aug 16 14:06:01 UTC 2015


This is an automated email from the git hooks/post-receive script.

nomeata pushed a commit to branch st3
in repository DHG_packages.

commit e1add58d042884a4cd49b2378443a4f8b2aaa3c9
Author: Joachim Breitner <mail at joachim-breitner.de>
Date:   Sat Aug 15 17:35:50 2015 +0200

    asn1-data: GHC 7.10 compat patches
---
 p/haskell-asn1-data/debian/changelog                     |  6 ++++++
 p/haskell-asn1-data/debian/patches/asn1-ghc-7.10-support | 16 ++++++++++++++++
 p/haskell-asn1-data/debian/patches/series                |  1 +
 3 files changed, 23 insertions(+)

diff --git a/p/haskell-asn1-data/debian/changelog b/p/haskell-asn1-data/debian/changelog
index 8f681d6..e5e146c 100644
--- a/p/haskell-asn1-data/debian/changelog
+++ b/p/haskell-asn1-data/debian/changelog
@@ -1,3 +1,9 @@
+haskell-asn1-data (0.7.1-7) UNRELEASED; urgency=medium
+
+  * GHC 7.10 compat patches 
+
+ -- Joachim Breitner <nomeata at debian.org>  Sat, 15 Aug 2015 17:35:36 +0200
+
 haskell-asn1-data (0.7.1-6) unstable; urgency=medium
 
   * Upload to unstable
diff --git a/p/haskell-asn1-data/debian/patches/asn1-ghc-7.10-support b/p/haskell-asn1-data/debian/patches/asn1-ghc-7.10-support
new file mode 100644
index 0000000..8bf9584
--- /dev/null
+++ b/p/haskell-asn1-data/debian/patches/asn1-ghc-7.10-support
@@ -0,0 +1,16 @@
+diff --git a/Data/ASN1/Parse.hs b/Data/ASN1/Parse.hs
+index eeea2be..83bc80e 100644
+--- a/Data/ASN1/Parse.hs
++++ b/Data/ASN1/Parse.hs
+@@ -24 +24 @@ import Control.Monad.Error
+-import Control.Applicative ((<$>))
++import Control.Applicative ((<$>), Applicative)
+@@ -25,7 +25,7 @@ import Control.Applicative ((<$>))
+ 
+ -- | Parse ASN1 Monad
+ newtype ParseASN1 a = P { runP :: ErrorT String (State [ASN1]) a }
+-        deriving (Functor, Monad, MonadError String)
++        deriving (Functor, Applicative, Monad, MonadError String)
+ 
+ -- | run the parse monad over a stream and returns the result and the remaining ASN1 Stream.
+ runParseASN1State :: ParseASN1 a -> [ASN1] -> Either String (a,[ASN1])
diff --git a/p/haskell-asn1-data/debian/patches/series b/p/haskell-asn1-data/debian/patches/series
new file mode 100644
index 0000000..4b9f353
--- /dev/null
+++ b/p/haskell-asn1-data/debian/patches/series
@@ -0,0 +1 @@
+asn1-ghc-7.10-support

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-haskell/DHG_packages.git



More information about the Pkg-haskell-commits mailing list