summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2008-04-21 16:21:51 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2008-04-21 16:21:51 +0000
commit1712b177c8447a22a677df55a7180cc09d6224c8 (patch)
tree2f8f171aac9184eda5c772be7aab9d0b7466183c /net-misc/mediatomb
parentFix up metadata.xml. If there's no maintainer for the package, the metadata a... (diff)
downloadgentoo-2-1712b177c8447a22a677df55a7180cc09d6224c8.tar.gz
gentoo-2-1712b177c8447a22a677df55a7180cc09d6224c8.tar.bz2
gentoo-2-1712b177c8447a22a677df55a7180cc09d6224c8.zip
Add patch to fix building with curl 7.18, thanks to Łukasz Dudek.
(Portage version: 2.1.5_rc5)
Diffstat (limited to 'net-misc/mediatomb')
-rw-r--r--net-misc/mediatomb/ChangeLog6
-rw-r--r--net-misc/mediatomb/files/mediatomb-0.11.0+curl-7.18.patch13
-rw-r--r--net-misc/mediatomb/mediatomb-0.11.0.ebuild3
3 files changed, 20 insertions, 2 deletions
diff --git a/net-misc/mediatomb/ChangeLog b/net-misc/mediatomb/ChangeLog
index 26741975bb3b..3d142f6b5680 100644
--- a/net-misc/mediatomb/ChangeLog
+++ b/net-misc/mediatomb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/mediatomb
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.1 2008/03/27 17:32:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.2 2008/04/21 16:21:50 flameeyes Exp $
+
+ 21 Apr 2008; Diego Pettenò <flameeyes@gentoo.org>
+ +files/mediatomb-0.11.0+curl-7.18.patch, mediatomb-0.11.0.ebuild:
+ Add patch to fix building with curl 7.18, thanks to Łukasz Dudek.
*mediatomb-0.11.0 (27 Mar 2008)
diff --git a/net-misc/mediatomb/files/mediatomb-0.11.0+curl-7.18.patch b/net-misc/mediatomb/files/mediatomb-0.11.0+curl-7.18.patch
new file mode 100644
index 000000000000..5d0d4b25bdcb
--- /dev/null
+++ b/net-misc/mediatomb/files/mediatomb-0.11.0+curl-7.18.patch
@@ -0,0 +1,13 @@
+Index: mediatomb-0.11.0/src/url.cc
+===================================================================
+--- mediatomb-0.11.0.orig/src/url.cc
++++ mediatomb-0.11.0/src/url.cc
+@@ -75,7 +75,7 @@
+
+ if (only_header)
+ {
+- curl_easy_setopt(curl_handle, CURLOPT_NOBODY);
++ curl_easy_setopt(curl_handle, CURLOPT_NOBODY, TRUE);
+ curl_easy_setopt(curl_handle, CURLOPT_HEADERFUNCTION, URL::dl);
+ curl_easy_setopt(curl_handle, CURLOPT_HEADERDATA,
+ (void *)buffer.getPtr());
diff --git a/net-misc/mediatomb/mediatomb-0.11.0.ebuild b/net-misc/mediatomb/mediatomb-0.11.0.ebuild
index d6beb7ac05f1..6cb5b38e0647 100644
--- a/net-misc/mediatomb/mediatomb-0.11.0.ebuild
+++ b/net-misc/mediatomb/mediatomb-0.11.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.11.0.ebuild,v 1.1 2008/03/27 17:32:57 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.11.0.ebuild,v 1.2 2008/04/21 16:21:50 flameeyes Exp $
inherit eutils autotools
@@ -47,6 +47,7 @@ src_unpack() {
cd "${S}"
epatch "${FILESDIR}/${P}-newffmpeg.patch"
+ epatch "${FILESDIR}/${P}+curl-7.18.patch"
eautoreconf
}