commit:     041e8ec9e7ef9ec2256c4ced27a6971b48316547
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Thu Feb 16 21:30:58 2017 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Thu Feb 16 21:57:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=041e8ec9

dev-haskell/http-attoparsec: tweak for HTTP-4000.3.5

Package-Manager: Portage-2.3.3, Repoman-2.3.1

 .../http-attoparsec/files/http-attoparsec-0.1.1-http.patch       | 9 +++++++++
 dev-haskell/http-attoparsec/http-attoparsec-0.1.1-r3.ebuild      | 4 +++-
 2 files changed, 12 insertions(+), 1 deletion(-)

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 0000000000..2de100c5de
--- /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 b4090db4a5..a1c4de7e8a 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'

Reply via email to