summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeremy Olexa <darkside@gentoo.org>2011-02-21 06:58:14 +0000
committerJeremy Olexa <darkside@gentoo.org>2011-02-21 06:58:14 +0000
commit34aa998db06eb94b9ca976ce79f8109c2e65c5f1 (patch)
tree1d0cb355f67acdffecc5a3279cf12417c6f6236b /net-misc/mediatomb
parentx86 stable wrt bug #355713 (diff)
downloadgentoo-2-34aa998db06eb94b9ca976ce79f8109c2e65c5f1.tar.gz
gentoo-2-34aa998db06eb94b9ca976ce79f8109c2e65c5f1.tar.bz2
gentoo-2-34aa998db06eb94b9ca976ce79f8109c2e65c5f1.zip
Add patch for gcc-4.6, bug 353733 by Ryan Hill
(Portage version: 2.1.9.40/cvs/Linux x86_64)
Diffstat (limited to 'net-misc/mediatomb')
-rw-r--r--net-misc/mediatomb/ChangeLog8
-rw-r--r--net-misc/mediatomb/files/mediatomb-0.12.1-gcc46.patch13
-rw-r--r--net-misc/mediatomb/mediatomb-0.12.1.ebuild8
3 files changed, 25 insertions, 4 deletions
diff --git a/net-misc/mediatomb/ChangeLog b/net-misc/mediatomb/ChangeLog
index 8a808060c532..d59d1b753489 100644
--- a/net-misc/mediatomb/ChangeLog
+++ b/net-misc/mediatomb/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-misc/mediatomb
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.19 2010/10/08 21:25:14 darkside Exp $
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/ChangeLog,v 1.20 2011/02/21 06:58:14 darkside Exp $
+
+ 21 Feb 2011; Jeremy Olexa <darkside@gentoo.org> mediatomb-0.12.1.ebuild,
+ +files/mediatomb-0.12.1-gcc46.patch:
+ Add patch for gcc-4.6, bug 353733 by Ryan Hill
08 Oct 2010; Jeremy Olexa <darkside@gentoo.org>
-files/mediatomb-0.11.0+curl-7.18.patch,
diff --git a/net-misc/mediatomb/files/mediatomb-0.12.1-gcc46.patch b/net-misc/mediatomb/files/mediatomb-0.12.1-gcc46.patch
new file mode 100644
index 000000000000..40b8f51881b4
--- /dev/null
+++ b/net-misc/mediatomb/files/mediatomb-0.12.1-gcc46.patch
@@ -0,0 +1,13 @@
+https://sourceforge.net/tracker/?func=detail&aid=3173314&group_id=129766&atid=715782
+https://bugs.gentoo.org/353733
+
+--- a/src/zmm/object.h
++++ b/src/zmm/object.h
+@@ -33,6 +33,7 @@
+ #define __ZMM_OBJECT_H__
+
+ #include <new> // for size_t
++#include <cstddef>
+ #include "atomic.h"
+
+ namespace zmm
diff --git a/net-misc/mediatomb/mediatomb-0.12.1.ebuild b/net-misc/mediatomb/mediatomb-0.12.1.ebuild
index a567ed2b8831..2de3eace6870 100644
--- a/net-misc/mediatomb/mediatomb-0.12.1.ebuild
+++ b/net-misc/mediatomb/mediatomb-0.12.1.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/net-misc/mediatomb/mediatomb-0.12.1.ebuild,v 1.3 2010/04/18 12:29:11 maekke Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/mediatomb/mediatomb-0.12.1.ebuild,v 1.4 2011/02/21 06:58:14 darkside Exp $
EAPI=2
inherit eutils linux-info
@@ -48,6 +48,10 @@ pkg_setup() {
enewuser mediatomb -1 -1 /dev/null mediatomb
}
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gcc46.patch"
+}
+
src_configure() {
if use thumbnail; then
elog "libextrator does not work with thumbnail, disabling libextrator"