[Git][haskell-team/DHG_packages][master] haskell-enumerator: patch to build with ghc-8.4
Dmitry Bogatov
gitlab at salsa.debian.org
Fri Oct 5 01:57:20 BST 2018
Dmitry Bogatov pushed to branch master at Debian Haskell Group / DHG_packages
Commits:
c7879cdc by Dmitry Bogatov at 2018-10-05T00:56:50Z
haskell-enumerator: patch to build with ghc-8.4
- - - - -
3 changed files:
- p/haskell-enumerator/debian/changelog
- + p/haskell-enumerator/debian/patches/patch-to-build-with-ghc-8.4.patch
- + p/haskell-enumerator/debian/patches/series
Changes:
=====================================
p/haskell-enumerator/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-enumerator (0.4.20-10) unstable; urgency=medium
+
+ * Patch to build with ghc-8.4
+
+ -- Dmitry Bogatov <KAction at gnu.org> Fri, 05 Oct 2018 00:56:15 +0000
+
haskell-enumerator (0.4.20-9) unstable; urgency=medium
* Remove build dependency on libghc-text-dev (provided by ghc-8.4.3)
=====================================
p/haskell-enumerator/debian/patches/patch-to-build-with-ghc-8.4.patch
=====================================
@@ -0,0 +1,14 @@
+Index: haskell-enumerator/lib/Data/Enumerator/Internal.hs
+===================================================================
+--- haskell-enumerator.orig/lib/Data/Enumerator/Internal.hs
++++ haskell-enumerator/lib/Data/Enumerator/Internal.hs
+@@ -71,6 +71,9 @@ instance Monad Stream where
+ Chunks xs >>= f = mconcat (fmap f xs)
+ EOF >>= _ = EOF
+
++instance Semigroup (Stream a) where
++ (<>) = mappend
++
+ instance Monoid (Stream a) where
+ mempty = Chunks mempty
+ mappend (Chunks xs) (Chunks ys) = Chunks (xs ++ ys)
=====================================
p/haskell-enumerator/debian/patches/series
=====================================
@@ -0,0 +1 @@
+patch-to-build-with-ghc-8.4.patch
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/c7879cdc0cb78773f1594ca019cd09fc7f6bfae0
--
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/c7879cdc0cb78773f1594ca019cd09fc7f6bfae0
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/20181005/4a58e8bf/attachment-0001.html>
More information about the Pkg-haskell-commits
mailing list