diff options
author | Alexis Ballier <aballier@gentoo.org> | 2008-04-13 21:04:03 +0000 |
---|---|---|
committer | Alexis Ballier <aballier@gentoo.org> | 2008-04-13 21:04:03 +0000 |
commit | 6dca87da1839ed933dd77b870dcdf3d7a370cac2 (patch) | |
tree | dea2ca7524c10d473754430cf975a76410dc6a93 | |
parent | version bump, remove old (diff) | |
download | gentoo-2-6dca87da1839ed933dd77b870dcdf3d7a370cac2.tar.gz gentoo-2-6dca87da1839ed933dd77b870dcdf3d7a370cac2.tar.bz2 gentoo-2-6dca87da1839ed933dd77b870dcdf3d7a370cac2.zip |
gcc 4.3 build fix by David Carlos Manuelda <StormByte@gmail.com> and impulze@impulze.org, bug #213139
(Portage version: 2.1.5_rc3)
-rw-r--r-- | media-libs/vamp-plugin-sdk/ChangeLog | 7 | ||||
-rw-r--r-- | media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.2-gcc-4.3.patch | 41 | ||||
-rw-r--r-- | media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.2.ebuild | 3 |
3 files changed, 49 insertions, 2 deletions
diff --git a/media-libs/vamp-plugin-sdk/ChangeLog b/media-libs/vamp-plugin-sdk/ChangeLog index 352e86709200..92a466d93d07 100644 --- a/media-libs/vamp-plugin-sdk/ChangeLog +++ b/media-libs/vamp-plugin-sdk/ChangeLog @@ -1,6 +1,11 @@ # 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.13 2008/02/29 10:43:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/ChangeLog,v 1.14 2008/04/13 21:04:03 aballier Exp $ + + 13 Apr 2008; Alexis Ballier <aballier@gentoo.org> + +files/vamp-plugin-sdk-1.2-gcc-4.3.patch, vamp-plugin-sdk-1.2.ebuild: + gcc 4.3 build fix by David Carlos Manuelda <StormByte@gmail.com> and + impulze@impulze.org, bug #213139 *vamp-plugin-sdk-1.2 (29 Feb 2008) diff --git a/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.2-gcc-4.3.patch b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.2-gcc-4.3.patch new file mode 100644 index 000000000000..b2077de80744 --- /dev/null +++ b/media-libs/vamp-plugin-sdk/files/vamp-plugin-sdk-1.2-gcc-4.3.patch @@ -0,0 +1,41 @@ +--- vamp-sdk/PluginHostAdapter.h 2007-10-19 14:52:33.000000000 +0200 ++++ vamp-sdk/PluginHostAdapter.h.new 2008-04-04 02:19:03.000000000 +0200 +@@ -41,6 +41,7 @@ + #include <vamp-sdk/Plugin.h> + + #include <vector> ++#include <cstdlib> + + namespace Vamp { + +--- vamp-sdk/PluginAdapter.h 2007-10-19 14:52:33.000000000 +0200 ++++ vamp-sdk/PluginAdapter.h.new 2008-04-04 02:19:41.000000000 +0200 +@@ -42,6 +42,8 @@ + #include "Plugin.h" + + #include <map> ++#include <cstring> ++#include <cstdlib> + + namespace Vamp { + +--- vamp-sdk/hostext/PluginLoader.h 2007-10-19 14:52:33.000000000 +0200 ++++ vamp-sdk/hostext/PluginLoader.h.new 2008-04-04 02:19:15.000000000 +0200 +@@ -40,6 +40,7 @@ + #include <vector> + #include <string> + #include <map> ++#include <cstring> + + #include "PluginWrapper.h" + +--- host/vamp-simple-host.cpp 2007-10-19 14:52:34.000000000 +0200 ++++ host/vamp-simple-host.cpp.new 2008-04-04 02:19:09.000000000 +0200 +@@ -48,6 +48,7 @@ + #include "system.h" + + #include <cmath> ++#include <cstring> + + using std::cout; + using std::cerr; diff --git a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.2.ebuild b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.2.ebuild index b63062317390..3ddf68f54d39 100644 --- a/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.2.ebuild +++ b/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.2.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2008 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-1.2.ebuild,v 1.1 2008/02/29 10:43:08 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-libs/vamp-plugin-sdk/vamp-plugin-sdk-1.2.ebuild,v 1.2 2008/04/13 21:04:03 aballier Exp $ inherit toolchain-funcs eutils multilib @@ -23,6 +23,7 @@ src_unpack() { # multilib for default search paths sed -i -e "s:/usr/lib/vamp:/usr/$(get_libdir)/vamp:" vamp-sdk/PluginHostAdapter.cpp + epatch "${FILESDIR}/${P}-gcc-4.3.patch" } src_compile() { |