[DHG_packages] 01/01: haskell-dependent-sum: fix build with patch from Ilias Tsitsimpis

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Tue Jun 20 21:45:33 UTC 2017


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

locutusofborg pushed a commit to branch master
in repository DHG_packages.

commit d0494cc04bf77e9bc217add0440b3b154787f0ab
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Tue Jun 20 23:45:05 2017 +0200

    haskell-dependent-sum: fix build with patch from Ilias Tsitsimpis
---
 p/haskell-dependent-sum/debian/changelog                    |  7 +++++++
 .../debian/patches/build_with_ghc-8.0.2.patch               | 13 +++++++++++++
 p/haskell-dependent-sum/debian/patches/series               |  1 +
 3 files changed, 21 insertions(+)

diff --git a/p/haskell-dependent-sum/debian/changelog b/p/haskell-dependent-sum/debian/changelog
index 332c162..09f3497 100644
--- a/p/haskell-dependent-sum/debian/changelog
+++ b/p/haskell-dependent-sum/debian/changelog
@@ -1,3 +1,10 @@
+haskell-dependent-sum (0.3.2.2-4) unstable; urgency=medium
+
+  * Team upload
+  * Fix build with patch from Ilias Tsitsimpis
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Tue, 24 Jan 2017 12:38:39 +0100
+
 haskell-dependent-sum (0.3.2.2-3) unstable; urgency=medium
 
   * Upload to unstable as part of GHC 8 transition.
diff --git a/p/haskell-dependent-sum/debian/patches/build_with_ghc-8.0.2.patch b/p/haskell-dependent-sum/debian/patches/build_with_ghc-8.0.2.patch
new file mode 100644
index 0000000..44c92eb
--- /dev/null
+++ b/p/haskell-dependent-sum/debian/patches/build_with_ghc-8.0.2.patch
@@ -0,0 +1,13 @@
+Index: b/src/Data/GADT/Compare.hs
+===================================================================
+--- a/src/Data/GADT/Compare.hs
++++ b/src/Data/GADT/Compare.hs
+@@ -58,7 +58,7 @@ instance GRead ((:=) a) where
+     greadsPrec p s = readsPrec p s >>= f
+         where
+             f :: forall x. (x := x, String) -> [(forall b. (forall a. x := a -> b) -> b, String)]
+-            f (Refl, rest) = return ((\x -> x Refl) :: forall b. (forall a. x := a -> b) -> b, rest)
++            f (Refl, rest) = [((\x -> x Refl) :: forall b. (forall a. x := a -> b) -> b, rest)]
+ 
+ -- |A class for type-contexts which contain enough information
+ -- to (at least in some cases) decide the equality of types 
diff --git a/p/haskell-dependent-sum/debian/patches/series b/p/haskell-dependent-sum/debian/patches/series
new file mode 100644
index 0000000..764bfbf
--- /dev/null
+++ b/p/haskell-dependent-sum/debian/patches/series
@@ -0,0 +1 @@
+build_with_ghc-8.0.2.patch

-- 
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