From 07202340d82fddc32f1cad82a437a438565cc2ba Mon Sep 17 00:00:00 2001 From: "jim@bo" Date: Wed, 20 Jun 2018 03:08:45 -0400 Subject: port to newer versions of packages: * iproute >= 1.7.4 * conduit-extra >= 1.1.7 --- bittorrent/tests/Network/BitTorrent/CoreSpec.hs | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'bittorrent/tests/Network') diff --git a/bittorrent/tests/Network/BitTorrent/CoreSpec.hs b/bittorrent/tests/Network/BitTorrent/CoreSpec.hs index 5bf900b2..e9b17a42 100644 --- a/bittorrent/tests/Network/BitTorrent/CoreSpec.hs +++ b/bittorrent/tests/Network/BitTorrent/CoreSpec.hs @@ -4,7 +4,11 @@ module Network.BitTorrent.CoreSpec (spec) where import Control.Applicative import Data.BEncode as BE import Data.ByteString.Lazy as BL +#if MIN_VERSION_iproute(1,7,4) +import Data.IP hiding (fromSockAddr) +#else import Data.IP +#endif import Data.Serialize as S import Data.String import Data.Text.Encoding as T @@ -302,4 +306,4 @@ spec = do fingerprint "-ML2.7.2-xxxxxxxxxxx" `shouldBe` "MLdonkey-0" -- TODO XBT, Bits on Wheels, Queen Bee, BitTyrant, TorrenTopia, --- BitSpirit, Rufus, G3 Torrent, FlashGet \ No newline at end of file +-- BitSpirit, Rufus, G3 Torrent, FlashGet -- cgit v1.2.3