# 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 <angelos@gentoo.org> 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 <hwoarang@gentoo.org> gmyth-0.7.ebuild,
+files/gmyth-0.7-as-needed.patch:
--- /dev/null
+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 <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ G_BEGIN_DECLS
-# 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
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
}