From 13cbcdcd7bbed2c2805418b933a68b035dba0415 Mon Sep 17 00:00:00 2001 From: Rex Dieter Date: Tue, 12 Feb 2008 23:32:02 +0000 Subject: [PATCH] - gcc43 patch --- akode-2.0.2-gcc43.patch | 46 +++++++++++++++++++++++++++++++++++++++++ akode.spec | 6 ++++-- 2 files changed, 50 insertions(+), 2 deletions(-) create mode 100644 akode-2.0.2-gcc43.patch diff --git a/akode-2.0.2-gcc43.patch b/akode-2.0.2-gcc43.patch new file mode 100644 index 0000000..b4491eb --- /dev/null +++ b/akode-2.0.2-gcc43.patch @@ -0,0 +1,46 @@ +diff -up akode-2.0.2/akode/akodeplay/akodeplay.cpp.gcc43 akode-2.0.2/akode/akodeplay/akodeplay.cpp +--- akode-2.0.2/akode/akodeplay/akodeplay.cpp.gcc43 2006-11-06 07:20:52.000000000 -0600 ++++ akode-2.0.2/akode/akodeplay/akodeplay.cpp 2008-02-12 17:28:00.000000000 -0600 +@@ -25,6 +25,7 @@ + #include "../lib/sink.h" + #include "../lib/decoder.h" + ++#include + #ifdef HAVE_GNU_GETOPT + #include + #else +diff -up akode-2.0.2/akode/lib/player.cpp.gcc43 akode-2.0.2/akode/lib/player.cpp +--- akode-2.0.2/akode/lib/player.cpp.gcc43 2006-11-05 08:37:48.000000000 -0600 ++++ akode-2.0.2/akode/lib/player.cpp 2008-02-12 17:10:58.000000000 -0600 +@@ -21,6 +21,7 @@ + #include + #include + #include ++#include + + #include "audioframe.h" + #include "audiobuffer.h" +diff -up akode-2.0.2/akode/lib/magic.cpp.gcc43 akode-2.0.2/akode/lib/magic.cpp +--- akode-2.0.2/akode/lib/magic.cpp.gcc43 2008-02-12 16:52:26.000000000 -0600 ++++ akode-2.0.2/akode/lib/magic.cpp 2008-02-12 17:16:54.000000000 -0600 +@@ -21,6 +21,8 @@ + #include "akodelib.h" + #include "magic.h" + #include "file.h" ++#include ++#include + #include + using std::cerr; + +diff -up akode-2.0.2/akode/lib/akode_export.h.in.gcc43 akode-2.0.2/akode/lib/akode_export.h.in +diff -up akode-2.0.2/akode/lib/auto_sink.cpp.gcc43 akode-2.0.2/akode/lib/auto_sink.cpp +--- akode-2.0.2/akode/lib/auto_sink.cpp.gcc43 2005-10-26 08:50:29.000000000 -0500 ++++ akode-2.0.2/akode/lib/auto_sink.cpp 2008-02-12 16:57:18.000000000 -0600 +@@ -21,6 +21,7 @@ + #include "audioframe.h" + #include "auto_sink.h" + ++#include + #include + + namespace aKode { diff --git a/akode.spec b/akode.spec index 3424cdc..cf05600 100644 --- a/akode.spec +++ b/akode.spec @@ -14,6 +14,7 @@ BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Patch1: akode-pulseaudio.patch Patch2: akode-2.0.2-multilib.patch Patch3: akode-2.0.2-flac113-portable.patch +Patch4: akode-2.0.2-gcc43.patch %define _with_flac --with-flac %if 0%{?fedora} > 4 @@ -82,6 +83,7 @@ Requires: %{name} = %{version}-%{release} %patch1 -p1 -b .pulseaudio %patch2 -p1 -b .multilib %patch3 -p4 -b .flac113_portable +%patch4 -p1 -b .gcc43 #[ ! -f configure ] && \ make -f Makefile.cvs @@ -167,8 +169,8 @@ rm -rf %{buildroot} %changelog -* Fri Feb 08 2008 Rex Dieter 2.0.2-5 -- respin (gcc43) +* Tue Feb 12 2008 Rex Dieter 2.0.2-5 +- gcc43 patch * Mon Jan 07 2008 Rex Dieter 2.0.2-4 - -Requires: %%name-pulseaudio (can be added to kde-settings-pulseaudio)