diff options
-rw-r--r-- | net-misc/mediatomb/ChangeLog | 8 | ||||
-rw-r--r-- | net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch | 24 | ||||
-rw-r--r-- | net-misc/mediatomb/mediatomb-0.11.0.ebuild | 5 |
3 files changed, 33 insertions, 4 deletions
diff --git a/net-misc/mediatomb/ChangeLog b/net-misc/mediatomb/ChangeLog index 97faed9b789f..b0c49ca14545 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.7 2008/10/27 05:26:01 tove Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.8 2009/05/22 15:21:23 flameeyes Exp $ + + 22 May 2009; Diego E. Pettenò <flameeyes@gentoo.org> + mediatomb-0.11.0.ebuild, +files/mediatomb-0.11.0+glibc-2.10.patch: + Add patch to build with glibc-2.10, closes bug #270715. 25 Oct 2008; Pieter Van den Abeele <pvdabeel@gentoo.org> mediatomb-0.11.0.ebuild: keyworded ~ppc. Closes bug #219420 diff --git a/net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch b/net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch new file mode 100644 index 000000000000..ff207b793519 --- /dev/null +++ b/net-misc/mediatomb/files/mediatomb-0.11.0+glibc-2.10.patch @@ -0,0 +1,24 @@ +Index: src/tools.cc +=================================================================== +--- src/tools.cc (revisione 2018) ++++ src/tools.cc (copia locale) +@@ -303,8 +303,8 @@ + Ref<StringBuffer> buf(new StringBuffer(len / 2)); + for (int i = 0; i < len; i += 2) + { +- char *chi = strchr(HEX_CHARS, ptr[i]); +- char *clo = strchr(HEX_CHARS, ptr[i + 1]); ++ const char *chi = strchr(HEX_CHARS, ptr[i]); ++ const char *clo = strchr(HEX_CHARS, ptr[i + 1]); + int hi, lo; + + if (chi) +@@ -397,7 +397,7 @@ + char clo = data[i++]; + int hi, lo; + +- char *pos; ++ const char *pos; + + pos = strchr(hex, chi); + if (!pos) diff --git a/net-misc/mediatomb/mediatomb-0.11.0.ebuild b/net-misc/mediatomb/mediatomb-0.11.0.ebuild index 7eaf35bcd629..9ea4e11e3def 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 +# Copyright 1999-2009 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.6 2008/10/25 22:02:27 pvdabeel Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.11.0.ebuild,v 1.7 2009/05/22 15:21:23 flameeyes Exp $ inherit eutils autotools @@ -48,6 +48,7 @@ src_unpack() { epatch "${FILESDIR}/${P}-newffmpeg.patch" epatch "${FILESDIR}/${P}+curl-7.18.patch" + epatch "${FILESDIR}/${P}+glibc-2.10.patch" eautoreconf } |