summaryrefslogtreecommitdiff
path: root/p/haskell-http-streams
diff options
context:
space:
mode:
authorClint Adams <clint@debian.org>2016-09-10 10:02:00 -0400
committerClint Adams <clint@debian.org>2016-09-10 10:02:00 -0400
commit70b24ca3ecbe94eff6fa0555eb3ad98ca31884c4 (patch)
tree51b93444412b7a13fddb0ed77070eb0d3a1ef302 /p/haskell-http-streams
parent362eabda0307f367fa369fcf7d3f82572b4f490e (diff)
downloadDHG_packages-70b24ca3ecbe94eff6fa0555eb3ad98ca31884c4.tar.gz
http-streams: build on non-Linux
Diffstat (limited to 'p/haskell-http-streams')
-rw-r--r--p/haskell-http-streams/debian/changelog8
-rw-r--r--p/haskell-http-streams/debian/patches/non-linux12
-rw-r--r--p/haskell-http-streams/debian/patches/series1
3 files changed, 19 insertions, 2 deletions
diff --git a/p/haskell-http-streams/debian/changelog b/p/haskell-http-streams/debian/changelog
index a6ce7e376..c229e559b 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@gnu.org> Tue, 10 May 2016 09:35:33 +0300
+ [ Clint Adams ]
+ * Patch to build on non-Linux. closes: #837320.
+
+ -- Clint Adams <clint@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 000000000..d69a5da9e
--- /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 000000000..240da8ac0
--- /dev/null
+++ b/p/haskell-http-streams/debian/patches/series
@@ -0,0 +1 @@
+non-linux