[DHG_packages] 01/01: http-streams: build on non-Linux

Clint Adams clint at moszumanska.debian.org
Sat Sep 10 14:06:34 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 70b24ca3ecbe94eff6fa0555eb3ad98ca31884c4
Author: Clint Adams <clint at debian.org>
Date:   Sat Sep 10 10:02:00 2016 -0400

    http-streams: build on non-Linux
---
 p/haskell-http-streams/debian/changelog         |  8 ++++++--
 p/haskell-http-streams/debian/patches/non-linux | 12 ++++++++++++
 p/haskell-http-streams/debian/patches/series    |  1 +
 3 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/p/haskell-http-streams/debian/changelog b/p/haskell-http-streams/debian/changelog
index a6ce7e3..c229e55 100644
--- a/p/haskell-http-streams/debian/changelog
+++ b/p/haskell-http-streams/debian/changelog
@@ -1,9 +1,13 @@
-haskell-http-streams (0.8.3.3-3) UNRELEASED; urgency=medium
+haskell-http-streams (0.8.3.3-3) unstable; urgency=medium
 
+  [ Dmitry Bogatov ]
   * Use secure (https) uri in Vcs-Git field in 'debian/control'
   * Bump standards version to 3.9.8 (no changes needed)
 
- -- Dmitry Bogatov <KAction at gnu.org>  Tue, 10 May 2016 09:35:33 +0300
+  [ Clint Adams ]
+  * Patch to build on non-Linux.  closes: #837320.
+
+ -- Clint Adams <clint at debian.org>  Sat, 10 Sep 2016 10:01:04 -0400
 
 haskell-http-streams (0.8.3.3-2) unstable; urgency=medium
 
diff --git a/p/haskell-http-streams/debian/patches/non-linux b/p/haskell-http-streams/debian/patches/non-linux
new file mode 100644
index 0000000..d69a5da
--- /dev/null
+++ b/p/haskell-http-streams/debian/patches/non-linux
@@ -0,0 +1,12 @@
+--- a/lib/Network/Http/Inconvenience.hs
++++ b/lib/Network/Http/Inconvenience.hs
+@@ -73,9 +73,7 @@
+ import Network.Http.RequestBuilder
+ import Network.Http.Types
+ 
+-#if defined __LINUX__
+ import System.Directory (doesDirectoryExist)
+-#endif
+ 
+ 
+ type URL = ByteString
diff --git a/p/haskell-http-streams/debian/patches/series b/p/haskell-http-streams/debian/patches/series
new file mode 100644
index 0000000..240da8a
--- /dev/null
+++ b/p/haskell-http-streams/debian/patches/series
@@ -0,0 +1 @@
+non-linux

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