diff options
author | Joachim Breitner <mail@joachim-breitner.de> | 2012-02-25 20:53:49 +0400 |
---|---|---|
committer | Joachim Breitner <mail@joachim-breitner.de> | 2012-02-25 20:53:49 +0400 |
commit | 00e196f19c169ee485ec7536c851a497ee8f15aa (patch) | |
tree | 44e397059a8f4c9579b032d60fffb8db28098a8a /p/haskell-hsp | |
parent | 2f5a3902dc71abe44be55f6b6b2820b83149e42f (diff) | |
download | DHG_packages-00e196f19c169ee485ec7536c851a497ee8f15aa.tar.gz |
haskell-hsp: Added patches/GHC-7.4.1-compat
Diffstat (limited to 'p/haskell-hsp')
-rw-r--r-- | p/haskell-hsp/debian/changelog | 6 | ||||
-rw-r--r-- | p/haskell-hsp/debian/patches/GHC-7.4.1-compat | 18 | ||||
-rw-r--r-- | p/haskell-hsp/debian/patches/series | 1 |
3 files changed, 25 insertions, 0 deletions
diff --git a/p/haskell-hsp/debian/changelog b/p/haskell-hsp/debian/changelog index 738f642a6..2681c0584 100644 --- a/p/haskell-hsp/debian/changelog +++ b/p/haskell-hsp/debian/changelog @@ -1,3 +1,9 @@ +haskell-hsp (0.6.1-2) UNRELEASED; urgency=low + + * Added patches/GHC-7.4.1-compat + + -- Joachim Breitner <nomeata@debian.org> Sat, 25 Feb 2012 17:53:43 +0100 + haskell-hsp (0.6.1-1) unstable; urgency=low [ Marco Silva ] diff --git a/p/haskell-hsp/debian/patches/GHC-7.4.1-compat b/p/haskell-hsp/debian/patches/GHC-7.4.1-compat new file mode 100644 index 000000000..d2d91d1c6 --- /dev/null +++ b/p/haskell-hsp/debian/patches/GHC-7.4.1-compat @@ -0,0 +1,18 @@ +Description: GHC 7.4.1 compatibility +Author: Giovanni Mascellani <gio@debian.org> + +--- haskell-hsp-0.6.1.orig/src/HSP/XMLGenerator.hs ++++ haskell-hsp-0.6.1/src/HSP/XMLGenerator.hs +@@ -31,9 +31,9 @@ import qualified Data.Text.Lazy as TL + + -- | We can use literal XML syntax to generate values of type XML in the HSP monad. + instance Monad m => HSX.XMLGen (HSPT' m) where +- type HSX.XML (HSPT' m) = XML +- newtype HSX.Attribute (HSPT' m) = HSPAttr Attribute +- newtype HSX.Child (HSPT' m) = HSPChild XML ++ type XML (HSPT' m) = XML ++ newtype Attribute (HSPT' m) = HSPAttr Attribute ++ newtype Child (HSPT' m) = HSPChild XML + xmlToChild = HSPChild + pcdataToChild = HSX.xmlToChild . pcdata + genElement = element diff --git a/p/haskell-hsp/debian/patches/series b/p/haskell-hsp/debian/patches/series new file mode 100644 index 000000000..b396dc590 --- /dev/null +++ b/p/haskell-hsp/debian/patches/series @@ -0,0 +1 @@ +GHC-7.4.1-compat |