[DHG_packages] 01/01: wreq: patch for newer snap-core

Clint Adams clint at moszumanska.debian.org
Sun Oct 30 01:10:48 UTC 2016


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

clint pushed a commit to branch master
in repository DHG_packages.

commit 936953898faa9150a7a1ae94903563c9dcf68774
Author: Clint Adams <clint at debian.org>
Date:   Sat Oct 29 21:09:52 2016 -0400

    wreq: patch for newer snap-core
---
 p/haskell-wreq/debian/changelog                     |  6 ++++++
 p/haskell-wreq/debian/patches/series                |  1 +
 p/haskell-wreq/debian/patches/snap-core-portability | 11 +++++++++++
 3 files changed, 18 insertions(+)

diff --git a/p/haskell-wreq/debian/changelog b/p/haskell-wreq/debian/changelog
index 31f48c9..29a82cc 100644
--- a/p/haskell-wreq/debian/changelog
+++ b/p/haskell-wreq/debian/changelog
@@ -1,3 +1,9 @@
+haskell-wreq (0.4.1.0-6) unstable; urgency=medium
+
+  * Patch for newer snap-core.
+
+ -- Clint Adams <clint at debian.org>  Sat, 29 Oct 2016 21:09:35 -0400
+
 haskell-wreq (0.4.1.0-5) unstable; urgency=medium
 
   * Patch to only build with aeson-pretty >= 0.8.
diff --git a/p/haskell-wreq/debian/patches/series b/p/haskell-wreq/debian/patches/series
index 8f9f099..e3ff930 100644
--- a/p/haskell-wreq/debian/patches/series
+++ b/p/haskell-wreq/debian/patches/series
@@ -1,3 +1,4 @@
 fix-doctests
 disable-network-tests
 aeson-pretty-portability
+snap-core-portability
diff --git a/p/haskell-wreq/debian/patches/snap-core-portability b/p/haskell-wreq/debian/patches/snap-core-portability
new file mode 100644
index 0000000..71f1088
--- /dev/null
+++ b/p/haskell-wreq/debian/patches/snap-core-portability
@@ -0,0 +1,11 @@
+--- a/httpbin/HttpBin/Server.hs
++++ b/httpbin/HttpBin/Server.hs
+@@ -149,7 +149,7 @@
+                                     "http://" <> host <> rqURI req)]
+   writeJSON =<< act ([ ("args", toJSON params)
+                      , ("headers", toJSON hdrs)
+-                     , ("origin", toJSON . decodeUtf8 . rqRemoteAddr $ req)
++                     , ("origin", toJSON . decodeUtf8 . rqClientAddr $ req)
+                      ] <> url)
+ 
+ meths ms h = methods ms (path "" h)

-- 
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