[Git][haskell-team/DHG_packages][master] libmpd: fix patch

Clint Adams gitlab at salsa.debian.org
Fri Apr 27 02:45:17 BST 2018


Clint Adams pushed to branch master at Debian Haskell Group / DHG_packages


Commits:
7ee346bb by Clint Adams at 2018-04-26T21:44:25-04:00
libmpd: fix patch

- - - - -


2 changed files:

- p/haskell-libmpd/debian/changelog
- p/haskell-libmpd/debian/patches/newer-quickcheck


Changes:

=====================================
p/haskell-libmpd/debian/changelog
=====================================
--- a/p/haskell-libmpd/debian/changelog
+++ b/p/haskell-libmpd/debian/changelog
@@ -1,3 +1,9 @@
+haskell-libmpd (0.9.0.8-4) unstable; urgency=medium
+
+  * Fix patch.
+
+ -- Clint Adams <clint at debian.org>  Thu, 26 Apr 2018 21:44:10 -0400
+
 haskell-libmpd (0.9.0.8-3) unstable; urgency=medium
 
   * Fix type mismatch.


=====================================
p/haskell-libmpd/debian/patches/newer-quickcheck
=====================================
--- a/p/haskell-libmpd/debian/patches/newer-quickcheck
+++ b/p/haskell-libmpd/debian/patches/newer-quickcheck
@@ -1,20 +1,11 @@
 --- a/tests/Arbitrary.hs
 +++ b/tests/Arbitrary.hs
-@@ -13,7 +13,7 @@
-     , positive, field
-     ) where
- 
--import           Control.Applicative ((<$>), (<*>))
-+import           Control.Applicative ((<$>), (<*>), some)
- import           Control.Monad (liftM2, liftM3, replicateM)
- import           Data.Char (isSpace)
- import           Data.List (intersperse)
 @@ -46,7 +46,7 @@
  
  -- MPD fields can't contain newlines and the parser skips initial spaces.
  field :: Gen String
 -field = (filter (/= '\n') . dropWhile isSpace) <$> arbitrary
-+field = (filter (/= '\n') . dropWhile isSpace) <$> some arbitraryPrintableChar
++field = (filter (/= '\n') . dropWhile isSpace) . getPrintableString <$> (arbitrary :: Gen PrintableString)
  
  fieldBS :: Gen ByteString
  fieldBS = UTF8.fromString <$> field



View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/7ee346bbfdc5dcc6f86673dcc3799e476692f714

---
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/commit/7ee346bbfdc5dcc6f86673dcc3799e476692f714
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/20180427/fc97d5ae/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list