summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--media-plugins/vamp-aubio-plugins/ChangeLog7
-rw-r--r--media-plugins/vamp-aubio-plugins/files/vamp-aubio-plugins-0.3.2b-gcc43.patch12
-rw-r--r--media-plugins/vamp-aubio-plugins/vamp-aubio-plugins-0.3.2b.ebuild10
3 files changed, 26 insertions, 3 deletions
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 <aballier@gentoo.org>
+ +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 <opfer@gentoo.org>
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 <math.h>
++#include <algorithm>
+ #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