summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-06-05 21:58:49 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-06-05 21:58:49 +0000
commitdf5bbb057fdaab7bc6bd42e20f33f6de28777355 (patch)
treecfdb135ac6d1ea14e0d950c0856c794a0532e4ac /media-libs/vamp-plugin-sdk
parentold (diff)
downloadgentoo-2-df5bbb057fdaab7bc6bd42e20f33f6de28777355.tar.gz
gentoo-2-df5bbb057fdaab7bc6bd42e20f33f6de28777355.tar.bz2
gentoo-2-df5bbb057fdaab7bc6bd42e20f33f6de28777355.zip
Fix compile with GCC 4.4
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-libs/vamp-plugin-sdk')
-rw-r--r--media-libs/vamp-plugin-sdk/ChangeLog8
-rw-r--r--media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-2.0-gcc44.patch14
-rw-r--r--media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild6
3 files changed, 23 insertions, 5 deletions
diff --git a/media-libs/vamp-plugin-sdk/ChangeLog b/media-libs/vamp-plugin-sdk/ChangeLog
index 3751274f1237..eb96cae0b6a2 100644
--- a/media-libs/vamp-plugin-sdk/ChangeLog
+++ b/media-libs/vamp-plugin-sdk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-libs/vamp-plugin-sdk
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.24 2008/12/13 11:39:11 aballier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.25 2009/06/05 21:58:49 ssuominen Exp $
+
+ 05 Jun 2009; Samuli Suominen <ssuominen@gentoo.org>
+ vamp-plugin-sdk-2.0.ebuild, +files/vamp-plugin-sdk-2.0-gcc44.patch:
+ Fix compile with GCC 4.4
13 Dec 2008; Alexis Ballier <aballier@gentoo.org>
vamp-plugin-sdk-2.0.ebuild:
diff --git a/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-2.0-gcc44.patch b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-2.0-gcc44.patch
new file mode 100644
index 000000000000..f559a7da9666
--- /dev/null
+++ b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-2.0-gcc44.patch
@@ -0,0 +1,14 @@
+diff -ur vamp-plugin-sdk-2.0.orig/examples/FixedTempoEstimator.cpp vamp-plugin-sdk-2.0/examples/FixedTempoEstimator.cpp
+--- vamp-plugin-sdk-2.0.orig/examples/FixedTempoEstimator.cpp 2008-12-01 13:48:41.000000000 +0200
++++ vamp-plugin-sdk-2.0/examples/FixedTempoEstimator.cpp 2009-06-06 00:57:58.000000000 +0300
+@@ -43,9 +43,9 @@
+
+ using Vamp::RealTime;
+
++#include <cstdio>
+ #include <cmath>
+
+-
+ class FixedTempoEstimator::D
+ // this class just avoids us having to declare any data members in the header
+ {
diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild
index c8eebcdd7ffb..b07aef713c5a 100644
--- a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild
+++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild
@@ -1,6 +1,6 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild,v 1.2 2008/12/13 11:39:11 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-2.0.ebuild,v 1.3 2009/06/05 21:58:49 ssuominen Exp $
inherit toolchain-funcs eutils multilib
@@ -20,7 +20,7 @@ DEPEND="${RDEPEND}
src_unpack() {
unpack ${A}
cd "${S}"
-
+ epatch "${FILESDIR}"/${P}-gcc44.patch
# multilib for default search paths
sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" src/vamp-hostsdk/PluginHostAdapter.cpp || die "sed failed"
}