From 041e8ec9e7ef9ec2256c4ced27a6971b48316547 Mon Sep 17 00:00:00 2001 From: Sergei Trofimovich Date: Thu, 16 Feb 2017 21:30:58 +0000 Subject: [PATCH] dev-haskell/http-attoparsec: tweak for HTTP-4000.3.5 Package-Manager: Portage-2.3.3, Repoman-2.3.1 --- .../files/http-attoparsec-0.1.1-http.patch | 9 +++++++++ .../http-attoparsec/http-attoparsec-0.1.1-r3.ebuild | 4 +++- 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 dev-haskell/http-attoparsec/files/http-attoparsec-0.1.1-http.patch diff --git a/dev-haskell/http-attoparsec/files/http-attoparsec-0.1.1-http.patch b/dev-haskell/http-attoparsec/files/http-attoparsec-0.1.1-http.patch new file mode 100644 index 000000000000..2de100c5deb5 --- /dev/null +++ b/dev-haskell/http-attoparsec/files/http-attoparsec-0.1.1-http.patch @@ -0,0 +1,9 @@ +diff --git a/Network/HTTP/Attoparsec.hs b/Network/HTTP/Attoparsec.hs +index ec464d0..37f9983 100644 +--- a/Network/HTTP/Attoparsec.hs ++++ b/Network/HTTP/Attoparsec.hs +@@ -7,3 +7,3 @@ module Network.HTTP.Attoparsec + where +-import Network.HTTP.Types.Header ++import Network.HTTP.Types.Header hiding (parseByteRanges) + diff --git a/dev-haskell/http-attoparsec/http-attoparsec-0.1.1-r3.ebuild b/dev-haskell/http-attoparsec/http-attoparsec-0.1.1-r3.ebuild index b4090db4a5a9..a1c4de7e8a96 100644 --- a/dev-haskell/http-attoparsec/http-attoparsec-0.1.1-r3.ebuild +++ b/dev-haskell/http-attoparsec/http-attoparsec-0.1.1-r3.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2017 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -27,6 +27,8 @@ DEPEND="${RDEPEND} " src_prepare() { + epatch "${FILESDIR}"/${P}-http.patch + cabal_chdeps \ 'attoparsec >= 0.10.4.0 && < 0.12' 'attoparsec >= 0.10.4.0' \ 'http-types >= 0.8.0 && < 0.9' 'http-types >= 0.8.0' -- 2.26.2