[Git][haskell-team/DHG_packages][master] haskell-monadplus: patch to build with ghc-8.4
Dmitry Bogatov
gitlab at salsa.debian.org
Thu Oct 4 13:01:32 BST 2018
Dmitry Bogatov pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
1da2d7ca by Dmitry Bogatov at 2018-10-04T12:01:56Z
haskell-monadplus: patch to build with ghc-8.4
- - - - -
3 changed files:
- p/haskell-monadplus/debian/changelog
- + p/haskell-monadplus/debian/patches/patch-build-with-ghc-8.4.patch
- + p/haskell-monadplus/debian/patches/series
Changes:
=====================================
p/haskell-monadplus/debian/changelog
=====================================
@@ -1,3 +1,10 @@
+haskell-monadplus (1.4.2-6) unstable; urgency=medium
+
+ * Non-maintainer upload.
+ * Patch to build with ghc-8.4
+
+ -- Dmitry Bogatov <KAction at gnu.org> Thu, 04 Oct 2018 12:01:12 +0000
+
haskell-monadplus (1.4.2-5) unstable; urgency=medium
[ Clint Adams ]
=====================================
p/haskell-monadplus/debian/patches/patch-build-with-ghc-8.4.patch
=====================================
@@ -0,0 +1,14 @@
+Index: haskell-monadplus/src/Control/Monad/Plus.hs
+===================================================================
+--- haskell-monadplus.orig/src/Control/Monad/Plus.hs
++++ haskell-monadplus/src/Control/Monad/Plus.hs
+@@ -253,6 +253,9 @@ instance Alternative (Partial r) where
+ empty = Partial (const Nothing)
+ Partial f <|> Partial g = Partial $ \x -> f x <|> g x
+
++instance Semigroup (Partial a b) where
++ (<>) = mappend
++
+ instance Monoid (Partial a b) where
+ mempty = mzero
+ mappend = mplus
=====================================
p/haskell-monadplus/debian/patches/series
=====================================
@@ -0,0 +1 @@
+patch-build-with-ghc-8.4.patch
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/1da2d7caa40258e8b9e88f1277568144b1c3c23b
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/1da2d7caa40258e8b9e88f1277568144b1c3c23b
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-haskell-commits/attachments/20181004/6d6b7c72/attachment.html>
More information about the Pkg-haskell-commits
mailing list