diff options
author | Mark Wright <gienah@gentoo.org> | 2013-10-20 02:20:19 +0000 |
---|---|---|
committer | Mark Wright <gienah@gentoo.org> | 2013-10-20 02:20:19 +0000 |
commit | 24ced07aeae7a8d80f8a0c1f3e18cd16d87b99b0 (patch) | |
tree | b0b97530b7c0a990227d57e8eb5db7adb3f235c6 /dev-haskell/httpd-shed/files | |
parent | Beta channel bump. (diff) | |
download | gentoo-2-24ced07aeae7a8d80f8a0c1f3e18cd16d87b99b0.tar.gz gentoo-2-24ced07aeae7a8d80f8a0c1f3e18cd16d87b99b0.tar.bz2 gentoo-2-24ced07aeae7a8d80f8a0c1f3e18cd16d87b99b0.zip |
Patch httpd-shed to fix Ambiguous occurrence 'sClose' with recent network versions
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 618E971F)
Diffstat (limited to 'dev-haskell/httpd-shed/files')
-rw-r--r-- | dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch b/dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch new file mode 100644 index 000000000000..ca5a113b7014 --- /dev/null +++ b/dev-haskell/httpd-shed/files/httpd-shed-0.4-network.patch @@ -0,0 +1,21 @@ +[1 of 1] Compiling Network.Shed.Httpd ( Network/Shed/Httpd.hs, dist/build/Network/Shed/Httpd.o ) + +Network/Shed/Httpd.hs:142:24: + Ambiguous occurrence `sClose' + It could refer to either `N.sClose', + imported from `Network' at Network/Shed/Httpd.hs:38:1-14 + or `Network.Socket.sClose', + imported from `Network.Socket' at Network/Shed/Httpd.hs:48:1-21 +diff --git a/Network/Shed/Httpd.hs b/Network/Shed/Httpd.hs +index 9dbc2a2..f4f7d5e 100644 +--- a/Network/Shed/Httpd.hs ++++ b/Network/Shed/Httpd.hs +@@ -139,7 +139,7 @@ initServerMain processBody sockAddr callOut = do + hClose h + _ -> hClose h + return () +- ) `finally` sClose sock ++ ) `finally` N.sClose sock + where + loopIO m = do m + loopIO m |