From b68cf60d76d899e04ee33b757c3e798f53bee400 Mon Sep 17 00:00:00 2001 From: Michel Alexandre Salim Date: Feb 08 2009 05:38:59 +0000 Subject: - Fix compilation problem with GCC 4.4 --- diff --git a/vamp-plugin-sdk-2.0-gcc44.patch b/vamp-plugin-sdk-2.0-gcc44.patch new file mode 100644 index 0000000..c737a01 --- /dev/null +++ b/vamp-plugin-sdk-2.0-gcc44.patch @@ -0,0 +1,10 @@ +--- vamp-plugin-sdk-2.0/examples/FixedTempoEstimator.cpp.gcc44 2008-12-01 06:48:41.000000000 -0500 ++++ vamp-plugin-sdk-2.0/examples/FixedTempoEstimator.cpp 2009-02-08 00:31:38.751861057 -0500 +@@ -44,6 +44,7 @@ + using Vamp::RealTime; + + #include ++#include + + + class FixedTempoEstimator::D diff --git a/vamp-plugin-sdk.spec b/vamp-plugin-sdk.spec index 6e480a1..e272215 100644 --- a/vamp-plugin-sdk.spec +++ b/vamp-plugin-sdk.spec @@ -1,6 +1,6 @@ Name: vamp-plugin-sdk Version: 2.0 -Release: 2%{?dist} +Release: 3%{?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}-2.0-libdir.patch +Patch1: %{name}-2.0-gcc44.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 %patch0 -p1 -b .libdir +%patch1 -p1 -b .gcc44 sed -i 's|/lib/vamp|/%{_lib}/vamp|g' src/vamp-hostsdk/PluginHostAdapter.cpp @@ -100,6 +102,9 @@ rm -rf $RPM_BUILD_ROOT %changelog +* Sun Feb 8 2009 Michel Salim - 2.0-3 +- Fix compilation problem with GCC 4.4 + * Tue Dec 30 2008 Michel Salim - 2.0-2 - More libdir fixes (bug #469777)