[DHG_packages] 02/34: dependent-sum: Build with ghc-8.0.2

Ilias Tsitsimpis iliastsi-guest at moszumanska.debian.org
Fri Jan 27 09:46:45 UTC 2017


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

iliastsi-guest pushed a commit to branch ghc-8.0.2
in repository DHG_packages.

commit 15e81a8c8fe309033ba9e558912237186d946760
Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
Date:   Wed Jan 25 21:19:40 2017 +0200

    dependent-sum: Build with ghc-8.0.2
---
 p/haskell-dependent-sum/debian/changelog         |  6 ++++++
 p/haskell-dependent-sum/debian/patches/ghc-8.0.2 | 17 +++++++++++++++++
 p/haskell-dependent-sum/debian/patches/series    |  1 +
 3 files changed, 24 insertions(+)

diff --git a/p/haskell-dependent-sum/debian/changelog b/p/haskell-dependent-sum/debian/changelog
index 332c162..3795fe3 100644
--- a/p/haskell-dependent-sum/debian/changelog
+++ b/p/haskell-dependent-sum/debian/changelog
@@ -1,3 +1,9 @@
+haskell-dependent-sum (0.3.2.2-4) unstable; urgency=medium
+
+  * Patch to build with ghc-8.0.2.
+
+ -- Ilias Tsitsimpis <i.tsitsimpis at gmail.com>  Wed, 25 Jan 2017 18:39:05 +0200
+
 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/ghc-8.0.2 b/p/haskell-dependent-sum/debian/patches/ghc-8.0.2
new file mode 100644
index 0000000..2cd370a
--- /dev/null
+++ b/p/haskell-dependent-sum/debian/patches/ghc-8.0.2
@@ -0,0 +1,17 @@
+Description: Build with ghc-8.0.2
+Author: Ilias Tsitsimpis <i.tsitsimpis at gmail.com>
+Forwarded: not-needed, fixed in newer versions
+
+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..02854cb
--- /dev/null
+++ b/p/haskell-dependent-sum/debian/patches/series
@@ -0,0 +1 @@
+ghc-8.0.2

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