From 220dea135fefef531624debec122bc65a1f47d90 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Thu, 31 Jan 2008 16:35:32 +0000 Subject: [PATCH] Add #includes needed to compile with gcc-4.3 --- vamp-plugin-sdk-1.1b-gcc43.patch | 33 ++++++++++++++++++++++++++++++++ vamp-plugin-sdk.spec | 7 ++++++- 2 files changed, 39 insertions(+), 1 deletion(-) create mode 100644 vamp-plugin-sdk-1.1b-gcc43.patch diff --git a/vamp-plugin-sdk-1.1b-gcc43.patch b/vamp-plugin-sdk-1.1b-gcc43.patch new file mode 100644 index 0000000..0036894 --- /dev/null +++ b/vamp-plugin-sdk-1.1b-gcc43.patch @@ -0,0 +1,33 @@ +--- vamp-plugin-sdk-v1.1b/vamp-sdk/PluginAdapter.h.gcc43 2007-10-19 08:52:33.000000000 -0400 ++++ vamp-plugin-sdk-v1.1b/vamp-sdk/PluginAdapter.h 2008-01-31 11:26:58.000000000 -0500 +@@ -41,8 +41,6 @@ + + #include "Plugin.h" + +-#include +- + namespace Vamp { + + /** +--- vamp-plugin-sdk-v1.1b/vamp-sdk/Plugin.h.gcc43 2007-10-19 08:52:33.000000000 -0400 ++++ vamp-plugin-sdk-v1.1b/vamp-sdk/Plugin.h 2008-01-31 11:20:46.000000000 -0500 +@@ -40,6 +40,8 @@ + #include "PluginBase.h" + #include "RealTime.h" + ++#include ++#include + #include + #include + #include +--- vamp-plugin-sdk-v1.1b/vamp-sdk/PluginHostAdapter.h.gcc43 2007-10-19 08:52:33.000000000 -0400 ++++ vamp-plugin-sdk-v1.1b/vamp-sdk/PluginHostAdapter.h 2008-01-31 11:17:59.000000000 -0500 +@@ -40,8 +40,6 @@ + #include + #include + +-#include +- + namespace Vamp { + + /** diff --git a/vamp-plugin-sdk.spec b/vamp-plugin-sdk.spec index d9595b1..ef80caf 100644 --- a/vamp-plugin-sdk.spec +++ b/vamp-plugin-sdk.spec @@ -1,6 +1,6 @@ Name: vamp-plugin-sdk Version: 1.1b -Release: 3%{?dist} +Release: 4%{?dist} Summary: An API for audio analysis and feature extraction plugins Group: System Environment/Libraries @@ -8,6 +8,7 @@ License: BSD URL: http://www.vamp-plugins.org/ Source0: http://downloads.sourceforge.net/vamp/vamp-plugin-sdk-%{version}.tar.gz Patch0: %{name}-1.1b-Makefile.patch +Patch1: %{name}-1.1b-gcc43.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: libsndfile-devel @@ -40,6 +41,7 @@ developing static applications that use %{name}. %prep %setup -q -n %{name}-v%{version} %patch0 -p1 -b .mk +%patch1 -p1 -b .gcc43 %build @@ -96,6 +98,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Thu Jan 31 2008 Michel Salim - 1.1b-4 +- Add some #includes, needed due to GCC 4.3's header dependency cleanup + * Mon Jan 28 2008 Michel Salim - 1.1b-3 - Add examples to -devel subpackage - Fix .pc files