From eed4b84cc3743ffbc4fa3fa22a4aaae45b822f99 Mon Sep 17 00:00:00 2001 From: Alexis Ballier Date: Fri, 11 Jul 2008 11:58:06 +0000 Subject: gcc 4.3 build fix (Portage version: 2.2_rc1/cvs/Linux 2.6.25.7 x86_64) --- media-plugins/vamp-aubio-plugins/ChangeLog | 7 ++++++- .../files/vamp-aubio-plugins-0.3.2b-gcc43.patch | 12 ++++++++++++ .../vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild | 10 ++++++++-- 3 files changed, 26 insertions(+), 3 deletions(-) create mode 100644 media-plugins/vamp-aubio-plugins/files/vamp-aubio-plugins-0.3.2b-gcc43.patch (limited to 'media-plugins/vamp-aubio-plugins') diff --git a/media-plugins/vamp-aubio-plugins/ChangeLog b/media-plugins/vamp-aubio-plugins/ChangeLog index 70551e6221bf..67ad8810f90c 100644 --- a/media-plugins/vamp-aubio-plugins/ChangeLog +++ b/media-plugins/vamp-aubio-plugins/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-plugins/vamp-aubio-plugins # Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vamp-aubio-plugins/ChangeLog,v 1.5 2008/01/29 11:56:22 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vamp-aubio-plugins/ChangeLog,v 1.6 2008/07/11 11:58:05 aballier Exp $ + + 11 Jul 2008; Alexis Ballier + +files/vamp-aubio-plugins-0.3.2b-gcc43.patch, + vamp-aubio-plugins-0.3.2b.ebuild: + gcc 4.3 build fix 29 Jan 2008; Christian Faulhammer vamp-aubio-plugins-0.3.2b.ebuild: diff --git a/media-plugins/vamp-aubio-plugins/files/vamp-aubio-plugins-0.3.2b-gcc43.patch b/media-plugins/vamp-aubio-plugins/files/vamp-aubio-plugins-0.3.2b-gcc43.patch new file mode 100644 index 000000000000..3637f5f3c0f9 --- /dev/null +++ b/media-plugins/vamp-aubio-plugins/files/vamp-aubio-plugins-0.3.2b-gcc43.patch @@ -0,0 +1,12 @@ +Index: vamp-aubio-plugins-0.3.2b/plugins/Notes.cpp +=================================================================== +--- vamp-aubio-plugins-0.3.2b.orig/plugins/Notes.cpp ++++ vamp-aubio-plugins-0.3.2b/plugins/Notes.cpp +@@ -15,6 +15,7 @@ + */ + + #include ++#include + #include "Notes.h" + + using std::string; diff --git a/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild b/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild index 39a43356d3cf..3c5ca5d02c2e 100644 --- a/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild +++ b/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild @@ -1,8 +1,8 @@ # Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild,v 1.5 2008/01/29 11:56:22 opfer Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild,v 1.6 2008/07/11 11:58:05 aballier Exp $ -inherit flag-o-matic toolchain-funcs multilib +inherit flag-o-matic toolchain-funcs multilib eutils DESCRIPTION="Onset detection, pitch tracking, note tracking and tempo tracking plugins" HOMEPAGE="http://www.vamp-plugins.org/" @@ -17,6 +17,12 @@ DEPEND=">=media-libs/aubio-0.3.2 media-libs/vamp-plugin-sdk =sci-libs/fftw-3*" +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}/${P}-gcc43.patch" +} + src_compile() { tc-export CXX # It only builds a shared library for a plugin -- cgit v1.2.3-65-gdbad