[Git][haskell-team/DHG_packages][master] hex: work around FTBFS

Clint Adams gitlab at salsa.debian.org
Fri Jun 19 14:40:45 BST 2020



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


Commits:
ad5d1b15 by Clint Adams at 2020-06-19T09:40:17-04:00
hex: work around FTBFS

- - - - -


3 changed files:

- p/haskell-hex/debian/changelog
- + p/haskell-hex/debian/patches/monadfail
- + p/haskell-hex/debian/patches/series


Changes:

=====================================
p/haskell-hex/debian/changelog
=====================================
@@ -1,3 +1,9 @@
+haskell-hex (0.1.2-8) unstable; urgency=medium
+
+  * Patch to build even though the upstream API needs to be changed.
+
+ -- Clint Adams <clint at debian.org>  Fri, 19 Jun 2020 09:39:39 -0400
+
 haskell-hex (0.1.2-7) unstable; urgency=medium
 
   * Sourceful upload for GHC 8.8.


=====================================
p/haskell-hex/debian/patches/monadfail
=====================================
@@ -0,0 +1,20 @@
+--- a/Data/Hex.hs
++++ b/Data/Hex.hs
+@@ -34,7 +34,7 @@
+     unhex (a:b:r) = do x <- c a
+                        y <- c b
+                        liftM (toEnum ((x * 16) + y) :) $ unhex r
+-    unhex [_]      = fail "Non-even length"
++    unhex [_]      = error "Non-even length"
+ 
+ 
+ c :: Monad m => Char -> m Int
+@@ -60,7 +60,7 @@
+ c 'd' = return 13
+ c 'e' = return 14
+ c 'f' = return 15
+-c _   = fail "Invalid hex digit!"
++c _   = error "Invalid hex digit!"
+ 
+ instance Hex B.ByteString where
+     hex = B.pack . hex . B.unpack


=====================================
p/haskell-hex/debian/patches/series
=====================================
@@ -0,0 +1 @@
+monadfail



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

-- 
View it on GitLab: https://salsa.debian.org/haskell-team/DHG_packages/-/commit/ad5d1b15d7d7602e5da3791ca4006d7a16ec2e45
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/20200619/590a4cf3/attachment-0001.html>


More information about the Pkg-haskell-commits mailing list