- gcc43 patch
This commit is contained in:
parent
7fcc105e08
commit
13cbcdcd7b
2 changed files with 50 additions and 2 deletions
46
akode-2.0.2-gcc43.patch
Normal file
46
akode-2.0.2-gcc43.patch
Normal file
|
|
@ -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 <stdlib.h>
|
||||
#ifdef HAVE_GNU_GETOPT
|
||||
#include <getopt.h>
|
||||
#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 <pthread.h>
|
||||
#include <semaphore.h>
|
||||
#include <assert.h>
|
||||
+#include <string.h>
|
||||
|
||||
#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 <stdlib.h>
|
||||
+#include <string.h>
|
||||
#include <iostream>
|
||||
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 <stdlib.h>
|
||||
#include <iostream>
|
||||
|
||||
namespace aKode {
|
||||
|
|
@ -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 <rdieter@fedoraproject.org> 2.0.2-5
|
||||
- respin (gcc43)
|
||||
* Tue Feb 12 2008 Rex Dieter <rdieter@fedoraproject.org> 2.0.2-5
|
||||
- gcc43 patch
|
||||
|
||||
* Mon Jan 07 2008 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.2-4
|
||||
- -Requires: %%name-pulseaudio (can be added to kde-settings-pulseaudio)
|
||||
|
|
|
|||
Reference in a new issue