[DHG_packages] 01/02: polynomial: apply patch to fix with ghc8
Sean Whitton
spw-guest at moszumanska.debian.org
Thu Oct 20 03:50:19 UTC 2016
This is an automated email from the git hooks/post-receive script.
spw-guest pushed a commit to branch experimental
in repository DHG_packages.
commit 2a1a49d2869841fe9b9796e8089a41c68b60453c
Author: Sean Whitton <spwhitton at spwhitton.name>
Date: Wed Oct 19 20:48:35 2016 -0700
polynomial: apply patch to fix with ghc8
---
p/haskell-polynomial/debian/changelog | 6 ++++++
.../debian/patches/fix-ghc-8.patch | 23 ++++++++++++++++++++++
p/haskell-polynomial/debian/patches/series | 1 +
3 files changed, 30 insertions(+)
diff --git a/p/haskell-polynomial/debian/changelog b/p/haskell-polynomial/debian/changelog
index 48ab486..adac82f 100644
--- a/p/haskell-polynomial/debian/changelog
+++ b/p/haskell-polynomial/debian/changelog
@@ -1,3 +1,9 @@
+haskell-polynomial (0.7.2-3) UNRELEASED; urgency=medium
+
+ * Add fix-ghc-8.patch
+
+ -- Sean Whitton <spwhitton at spwhitton.name> Wed, 19 Oct 2016 20:44:04 -0700
+
haskell-polynomial (0.7.2-2) experimental; urgency=medium
* Temporarily build-depend on ghc 8.
diff --git a/p/haskell-polynomial/debian/patches/fix-ghc-8.patch b/p/haskell-polynomial/debian/patches/fix-ghc-8.patch
new file mode 100644
index 0000000..b94d458
--- /dev/null
+++ b/p/haskell-polynomial/debian/patches/fix-ghc-8.patch
@@ -0,0 +1,23 @@
+From: Dean4Devil, https://github.com/Dean4Devil
+Forwarded: https://github.com/mokus0/polynomial/pull/9
+
+diff --git a/src/Data/VectorSpace/WrappedNum.hs b/src/Data/VectorSpace/WrappedNum.hs
+index d7df2aa..271a4fb 100644
+--- a/src/Data/VectorSpace/WrappedNum.hs
++++ b/src/Data/VectorSpace/WrappedNum.hs
+@@ -1,5 +1,6 @@
+ {-# LANGUAGE TemplateHaskell, TypeFamilies, MultiParamTypeClasses, FlexibleInstances, FlexibleContexts #-}
+ {-# LANGUAGE GeneralizedNewtypeDeriving #-}
++{-# LANGUAGE RankNTypes #-}
+ module Data.VectorSpace.WrappedNum
+ (WrappedNum(..)) where
+
+@@ -19,7 +20,7 @@ newtype WrappedNum a = WrapNum { unwrapNum :: a }
+ , Floating, RealFloat)
+
+ derivingUnbox "Wrapped"
+- [t| (U.Unbox a) => WrappedNum a -> a |] [| unwrapNum |] [| \ a -> WrapNum a |]
++ [t| forall a. (U.Unbox a) => WrappedNum a -> a |] [| unwrapNum |] [| \ a -> WrapNum a |]
+
+ instance Num a => AdditiveGroup (WrappedNum a) where
+ zeroV = 0
diff --git a/p/haskell-polynomial/debian/patches/series b/p/haskell-polynomial/debian/patches/series
new file mode 100644
index 0000000..2f2159c
--- /dev/null
+++ b/p/haskell-polynomial/debian/patches/series
@@ -0,0 +1 @@
+fix-ghc-8.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