[DHG_packages] 01/01: haskell-http-link-header: fix build on armhf with upstream patch

Gianfranco Costamagna locutusofborg at moszumanska.debian.org
Thu Jul 20 20:05:14 UTC 2017


This is an automated email from the git hooks/post-receive script.

locutusofborg pushed a commit to branch master
in repository DHG_packages.

commit b69a4e8eb353f2aa94fc30ff49a6cf47fb1bbb90
Author: Gianfranco Costamagna <costamagnagianfranco at yahoo.it>
Date:   Thu Jul 20 22:04:38 2017 +0200

    haskell-http-link-header: fix build on armhf with upstream patch
---
 p/haskell-http-link-header/debian/changelog        |  7 +++++++
 .../59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch | 24 ++++++++++++++++++++++
 p/haskell-http-link-header/debian/patches/series   |  1 +
 3 files changed, 32 insertions(+)

diff --git a/p/haskell-http-link-header/debian/changelog b/p/haskell-http-link-header/debian/changelog
index d5857f1..15f692b 100644
--- a/p/haskell-http-link-header/debian/changelog
+++ b/p/haskell-http-link-header/debian/changelog
@@ -1,3 +1,10 @@
+haskell-http-link-header (1.0.3-3) unstable; urgency=medium
+
+  * debian/patches/59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch:
+    - fix build failure on armhf with upstream patch
+
+ -- Gianfranco Costamagna <locutusofborg at debian.org>  Thu, 20 Jul 2017 22:03:40 +0200
+
 haskell-http-link-header (1.0.3-2) unstable; urgency=medium
 
   * Run tests under C.UTF-8.  closes: #865706.
diff --git a/p/haskell-http-link-header/debian/patches/59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch b/p/haskell-http-link-header/debian/patches/59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch
new file mode 100644
index 0000000..e8c238c
--- /dev/null
+++ b/p/haskell-http-link-header/debian/patches/59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.patch
@@ -0,0 +1,24 @@
+From 59c4bf5c8b2cffb7b293bbc034310914a6c3bd20 Mon Sep 17 00:00:00 2001
+From: Greg V <greg at unrelenting.technology>
+Date: Wed, 26 Apr 2017 16:18:37 +0300
+Subject: [PATCH] fix #5
+
+---
+ stack.yaml                          | 2 +-
+ test-suite/Network/HTTP/LinkSpec.hs | 3 ++-
+ 2 files changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/test-suite/Network/HTTP/LinkSpec.hs b/test-suite/Network/HTTP/LinkSpec.hs
+index f7cad35..9c98733 100644
+--- a/test-suite/Network/HTTP/LinkSpec.hs
++++ b/test-suite/Network/HTTP/LinkSpec.hs
+@@ -21,7 +21,8 @@ instance Arbitrary Link where
+     params ← listOf genParam
+     return $ fromJust $ lnk (mconcat [urlScheme, urlDomain, ".", urlTld, "/", urlPath]) params
+     where genParam = do
+-            otherParamKey ← listOf1 $ elements ['a'..'z']
++            otherParamKey ← suchThat (listOf1 $ elements ['a'..'z']) (\x → x /= "rel" && x /= "rev" && x /= "title"
++              && x /= "title*" && x /= "hreflang" && x /= "anchor" && x /= "media" && x /= "type")
+             paramKey ← elements [Rel, Rev, Title, Hreflang, Anchor, Media, ContentType, Other (T.pack otherParamKey)]
+             paramValue ← listOf $ elements ['a'..'z']
+             return (paramKey, T.pack paramValue)
diff --git a/p/haskell-http-link-header/debian/patches/series b/p/haskell-http-link-header/debian/patches/series
new file mode 100644
index 0000000..4641df6
--- /dev/null
+++ b/p/haskell-http-link-header/debian/patches/series
@@ -0,0 +1 @@
+59c4bf5c8b2cffb7b293bbc034310914a6c3bd20.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