diff -Nru haskell-heterocephalus-1.0.5.6/CHANGELOG.md haskell-heterocephalus-1.0.5.7/CHANGELOG.md --- haskell-heterocephalus-1.0.5.6/CHANGELOG.md 2019-06-26 09:02:40.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/CHANGELOG.md 2022-07-12 17:10:38.000000000 +0000 @@ -1,6 +1,11 @@ Change Log ========== +Version 1.0.5.7 (2022-07-13) +---------------- + +Support GHC 9.2 + Version 1.0.5.0 (2017-06-05) ---------------- diff -Nru haskell-heterocephalus-1.0.5.6/debian/changelog haskell-heterocephalus-1.0.5.7/debian/changelog --- haskell-heterocephalus-1.0.5.6/debian/changelog 2022-07-29 13:20:06.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/debian/changelog 2022-12-12 12:42:09.000000000 +0000 @@ -1,3 +1,15 @@ +haskell-heterocephalus (1.0.5.7-1build1) lunar; urgency=medium + + * Rebuild against new GHC ABI. + + -- Gianfranco Costamagna Mon, 12 Dec 2022 13:42:09 +0100 + +haskell-heterocephalus (1.0.5.7-1) unstable; urgency=medium + + * New upstream release + + -- Ilias Tsitsimpis Sun, 23 Oct 2022 19:43:25 +0300 + haskell-heterocephalus (1.0.5.6-1) unstable; urgency=medium [ Ilias Tsitsimpis ] diff -Nru haskell-heterocephalus-1.0.5.6/debian/control haskell-heterocephalus-1.0.5.7/debian/control --- haskell-heterocephalus-1.0.5.6/debian/control 2022-07-29 13:20:06.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/debian/control 2022-10-23 16:43:25.000000000 +0000 @@ -8,15 +8,15 @@ cdbs, ghc, ghc-prof, - libghc-blaze-html-dev (>= 0.9), + libghc-blaze-html-dev (>= 0.9.1.2), libghc-blaze-html-prof, - libghc-blaze-markup-dev (>= 0.8), + libghc-blaze-markup-dev (>= 0.8.2.8), libghc-blaze-markup-prof, - libghc-dlist-dev (>= 0.8), + libghc-dlist-dev (>= 1.0), libghc-dlist-prof, - libghc-shakespeare-dev (>= 2.0), + libghc-shakespeare-dev (>= 2.0.26), libghc-shakespeare-prof, - libghc-template-haskell-compat-v0208-dev (>= 0.1.2), + libghc-template-haskell-compat-v0208-dev (>= 0.1.7), libghc-template-haskell-compat-v0208-prof, libghc-glob-dev, libghc-glob-prof, diff -Nru haskell-heterocephalus-1.0.5.6/debian/patches/no-rts-N haskell-heterocephalus-1.0.5.7/debian/patches/no-rts-N --- haskell-heterocephalus-1.0.5.6/debian/patches/no-rts-N 2021-08-24 11:27:47.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/debian/patches/no-rts-N 2022-10-23 16:43:25.000000000 +0000 @@ -1,6 +1,8 @@ +Index: b/heterocephalus.cabal +=================================================================== --- a/heterocephalus.cabal +++ b/heterocephalus.cabal -@@ -54,7 +54,7 @@ +@@ -55,7 +55,7 @@ test-suite heterocephalus-test main-is: Spec.hs build-depends: base , heterocephalus @@ -9,7 +11,7 @@ default-language: Haskell2010 test-suite doctest -@@ -65,7 +65,7 @@ +@@ -66,7 +66,7 @@ test-suite doctest , Glob , doctest >= 0.10 , heterocephalus diff -Nru haskell-heterocephalus-1.0.5.6/heterocephalus.cabal haskell-heterocephalus-1.0.5.7/heterocephalus.cabal --- haskell-heterocephalus-1.0.5.6/heterocephalus.cabal 2022-02-25 07:05:26.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/heterocephalus.cabal 2022-07-12 17:10:42.000000000 +0000 @@ -1,5 +1,5 @@ name: heterocephalus -version: 1.0.5.6 +version: 1.0.5.7 synopsis: A type-safe template engine for working with front end development tools description: Recent front end development tools and languages are growing fast and have @@ -34,18 +34,18 @@ , Text.Heterocephalus.Parse.Control , Text.Heterocephalus.Parse.Doc , Text.Heterocephalus.Parse.Option - build-depends: base >= 4.10 && < 5 - , blaze-html >= 0.9 - , blaze-markup >= 0.8 - , containers >= 0.5 - , dlist >= 0.8 - , mtl >= 2.2 - , parsec >= 3.1 - , shakespeare >= 2.0 - , template-haskell >= 2.12 - , template-haskell-compat-v0208 >= 0.1.2 - , text >= 1.2 - , transformers >= 0.5 + build-depends: base >= 4.14.3.0 && < 5 + , blaze-html >= 0.9.1.2 + , blaze-markup >= 0.8.2.8 + , containers >= 0.6.4.1 + , dlist >= 1.0 + , mtl >= 2.2.2 + , parsec >= 3.1.14.0 + , shakespeare >= 2.0.26 + , template-haskell >= 2.16.0.0 + , template-haskell-compat-v0208 >= 0.1.7 + , text >= 1.2.4.1 + , transformers >= 0.5.6.2 ghc-options: -Wall -Wcompat -Wnoncanonical-monad-instances default-language: Haskell2010 diff -Nru haskell-heterocephalus-1.0.5.6/README.md haskell-heterocephalus-1.0.5.7/README.md --- haskell-heterocephalus-1.0.5.6/README.md 2019-06-26 09:02:40.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/README.md 2022-07-12 17:09:11.000000000 +0000 @@ -1,4 +1,4 @@ -[![Build Status](https://travis-ci.org/arowM/heterocephalus.svg?branch=master)](https://travis-ci.org/arowM/heterocephalus) +[![test](https://github.com/arowM/heterocephalus/actions/workflows/test.yaml/badge.svg)](https://github.com/arowM/heterocephalus/actions/workflows/test.yaml) [![Hackage](https://img.shields.io/hackage/v/heterocephalus.svg)](https://hackage.haskell.org/package/heterocephalus) [![Stackage LTS](http://stackage.org/package/heterocephalus/badge/lts)](http://stackage.org/lts/package/heterocephalus) [![Stackage Nightly](http://stackage.org/package/heterocephalus/badge/nightly)](http://stackage.org/nightly/package/heterocephalus) diff -Nru haskell-heterocephalus-1.0.5.6/src/Text/Heterocephalus.hs haskell-heterocephalus-1.0.5.7/src/Text/Heterocephalus.hs --- haskell-heterocephalus-1.0.5.6/src/Text/Heterocephalus.hs 2022-02-18 02:16:18.000000000 +0000 +++ haskell-heterocephalus-1.0.5.7/src/Text/Heterocephalus.hs 2022-07-12 14:38:59.000000000 +0000 @@ -575,7 +575,20 @@ return (ListP patterns, concat scopes) bindingPattern (BindConstr con is) = do (patterns, scopes) <- fmap unzip $ mapM bindingPattern is +#if MIN_VERSION_template_haskell_compat_v0208(0,1,8) + {- + Todo: Note, the use of conP below (note lowercase 'c') is from the package 'template-haskell-compat-v0208'. + This allows Heterocephalus to compile with GHC 9.2, as the ConP constructor takes an additional argument in GHC 9.2 + Note however this _probably_ means there was some new extension or new syntax extension that GHC now allows post GHC 9.2 + that we are not able to handle. As I (clintonmead@gmail.com) am just writing a PR to the library and don't fully understand it + (I'm making this PR just to make our current project build under GHC 9.2) there's probably some more work to be done here. + + The github issue relating to this is at https://github.com/arowM/heterocephalus/issues/32 + -} + return (conP (mkConName con) patterns, concat scopes) +#else return (ConP (mkConName con) patterns, concat scopes) +#endif bindingPattern (BindRecord con fields wild) = do let f (Ident field, b) = do (p, s) <- bindingPattern b