From b74c064e83ecf33575dcc11a3d487cdab6ebe7a3 Mon Sep 17 00:00:00 2001 From: Christoph Mende Date: Mon, 25 Jul 2011 10:32:35 +0000 Subject: [PATCH] Fix compilation against curl-7.21.7 (bug #376145) Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64 --- media-libs/gmyth/ChangeLog | 8 ++++++-- media-libs/gmyth/files/gmyth-0.7-curl-headers.patch | 12 ++++++++++++ media-libs/gmyth/gmyth-0.7.ebuild | 7 ++++--- 3 files changed, 22 insertions(+), 5 deletions(-) create mode 100644 media-libs/gmyth/files/gmyth-0.7-curl-headers.patch diff --git a/media-libs/gmyth/ChangeLog b/media-libs/gmyth/ChangeLog index 14211e0142ee..cdbb8f842de2 100644 --- a/media-libs/gmyth/ChangeLog +++ b/media-libs/gmyth/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-libs/gmyth -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/ChangeLog,v 1.10 2010/06/24 10:03:00 hwoarang Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/ChangeLog,v 1.11 2011/07/25 10:32:35 angelos Exp $ + + 25 Jul 2011; Christoph Mende gmyth-0.7.ebuild, + +files/gmyth-0.7-curl-headers.patch: + Fix compilation against curl-7.21.7 (bug #376145) 24 Jun 2010; Markos Chandras gmyth-0.7.ebuild, +files/gmyth-0.7-as-needed.patch: diff --git a/media-libs/gmyth/files/gmyth-0.7-curl-headers.patch b/media-libs/gmyth/files/gmyth-0.7-curl-headers.patch new file mode 100644 index 000000000000..ac33c70094cb --- /dev/null +++ b/media-libs/gmyth/files/gmyth-0.7-curl-headers.patch @@ -0,0 +1,12 @@ +diff --git a/src/gmyth_http.h b/src/gmyth_http.h +index f28d75d..a4fcc4b 100644 +--- a/src/gmyth_http.h ++++ b/src/gmyth_http.h +@@ -42,7 +42,6 @@ + #include "gmyth_recprofile.h" + + #include +-#include + #include + + G_BEGIN_DECLS diff --git a/media-libs/gmyth/gmyth-0.7.ebuild b/media-libs/gmyth/gmyth-0.7.ebuild index 6fe992ff72c5..865ee010ef6d 100644 --- a/media-libs/gmyth/gmyth-0.7.ebuild +++ b/media-libs/gmyth/gmyth-0.7.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2011 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/gmyth-0.7.ebuild,v 1.8 2010/06/24 10:03:00 hwoarang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/gmyth/gmyth-0.7.ebuild,v 1.9 2011/07/25 10:32:35 angelos Exp $ inherit libtool autotools eutils @@ -23,7 +23,8 @@ S="${WORKDIR}/${PN}" src_unpack() { unpack ${A} cd "${S}" - epatch "${FILESDIR}"/${P}-as-needed.patch + epatch "${FILESDIR}"/${P}-as-needed.patch \ + "${FILESDIR}"/${P}-curl-headers.patch AT_M4DIR="m4" eautoreconf } -- 2.26.2