diff options
author | Bernard Cafarelli <voyageur@gentoo.org> | 2011-06-16 15:44:05 +0000 |
---|---|---|
committer | Bernard Cafarelli <voyageur@gentoo.org> | 2011-06-16 15:44:05 +0000 |
commit | 69744966882b950b839ca0bee7f49d249d416558 (patch) | |
tree | 012d7d6487cb170ed05e152b566c28204871224d /media-gfx/freepv | |
parent | Fix missing dev-libs/glib and dev-libs/dbus-glib deps and USE="test" handling... (diff) | |
download | gentoo-2-69744966882b950b839ca0bee7f49d249d416558.tar.gz gentoo-2-69744966882b950b839ca0bee7f49d249d416558.tar.bz2 gentoo-2-69744966882b950b839ca0bee7f49d249d416558.zip |
Fix compilation with GCC 4.6, reported by Piotr Szymaniak in bug #371239
(Portage version: 2.2.0_alpha41/cvs/Linux x86_64)
Diffstat (limited to 'media-gfx/freepv')
-rw-r--r-- | media-gfx/freepv/ChangeLog | 8 | ||||
-rw-r--r-- | media-gfx/freepv/files/freepv-0.3.0-gcc46.patch | 10 | ||||
-rw-r--r-- | media-gfx/freepv/freepv-0.3.0-r3.ebuild | 5 |
3 files changed, 19 insertions, 4 deletions
diff --git a/media-gfx/freepv/ChangeLog b/media-gfx/freepv/ChangeLog index 4930be88ab2d..a47e8cd9bdfd 100644 --- a/media-gfx/freepv/ChangeLog +++ b/media-gfx/freepv/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-gfx/freepv -# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/ChangeLog,v 1.13 2010/11/08 09:43:22 voyageur Exp $ +# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/ChangeLog,v 1.14 2011/06/16 15:44:05 voyageur Exp $ + + 16 Jun 2011; Bernard Cafarelli <voyageur@gentoo.org> freepv-0.3.0-r3.ebuild, + +files/freepv-0.3.0-gcc46.patch: + Fix compilation with GCC 4.6, reported by Piotr Szymaniak in bug #371239 08 Nov 2010; Bernard Cafarelli <voyageur@gentoo.org> freepv-0.3.0-r3.ebuild: diff --git a/media-gfx/freepv/files/freepv-0.3.0-gcc46.patch b/media-gfx/freepv/files/freepv-0.3.0-gcc46.patch new file mode 100644 index 000000000000..985d1443e7ce --- /dev/null +++ b/media-gfx/freepv/files/freepv-0.3.0-gcc46.patch @@ -0,0 +1,10 @@ +--- src/libfreepv/Action.h.orig 2011-06-16 17:37:55.705868856 +0200 ++++ src/libfreepv/Action.h 2011-06-16 17:38:19.792311535 +0200 +@@ -24,6 +24,7 @@ + + #ifndef FPV_ACTION_H + #define FPV_ACTION_H ++#include <cstddef> + #include "Behavior.h" + + namespace FPV diff --git a/media-gfx/freepv/freepv-0.3.0-r3.ebuild b/media-gfx/freepv/freepv-0.3.0-r3.ebuild index c12dbabf994d..1c7807869cd9 100644 --- a/media-gfx/freepv/freepv-0.3.0-r3.ebuild +++ b/media-gfx/freepv/freepv-0.3.0-r3.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/media-gfx/freepv/freepv-0.3.0-r3.ebuild,v 1.4 2010/11/08 09:43:22 voyageur Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-gfx/freepv/freepv-0.3.0-r3.ebuild,v 1.5 2011/06/16 15:44:05 voyageur Exp $ EAPI=2 inherit cmake-utils eutils @@ -26,6 +26,7 @@ RDEPEND="${DEPEND}" src_prepare() { epatch "${FILESDIR}"/${P}-gcc44.patch \ + "${FILESDIR}"/${P}-gcc46.patch \ "${FILESDIR}"/${P}-noplugin.patch \ "${FILESDIR}"/${P}-libpng14.patch |