Fix compilation against curl-7.21.7 (bug #376145)
authorChristoph Mende <angelos@gentoo.org>
Mon, 25 Jul 2011 10:32:35 +0000 (10:32 +0000)
committerChristoph Mende <angelos@gentoo.org>
Mon, 25 Jul 2011 10:32:35 +0000 (10:32 +0000)
Package-Manager: portage-2.2.0_alpha47/cvs/Linux x86_64

media-libs/gmyth/ChangeLog
media-libs/gmyth/files/gmyth-0.7-curl-headers.patch [new file with mode: 0644]
media-libs/gmyth/gmyth-0.7.ebuild

index 14211e0142ee091e76d31237057e903214b242ff..cdbb8f842de277dc4f19eb34dc510f3e191f9420 100644 (file)
@@ -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 <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:
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 (file)
index 0000000..ac33c70
--- /dev/null
@@ -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 <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+ 
+ G_BEGIN_DECLS
index 6fe992ff72c54912ab207d2843717006e11acd93..865ee010ef6de541d13e5e904976cf28a913631d 100644 (file)
@@ -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
 }