summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-gfx/freepv/ChangeLog8
-rw-r--r--media-gfx/freepv/files/freepv-0.3.0-gcc46.patch10
-rw-r--r--media-gfx/freepv/freepv-0.3.0-r3.ebuild5
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