- more fixes from gentoo
[packages/akode.git] / akode-gcc4.patch
CommitLineData
94c155de
PS
1--- akode-2.0.2/akode/plugins/xiph_decoder/flac113_decoder.cpp.orig 2006-11-06 14:20:52.000000000 +0100
2+++ akode-2.0.2/akode/plugins/xiph_decoder/flac113_decoder.cpp 2007-04-17 18:36:25.796870049 +0200
3@@ -108,7 +108,7 @@
4 static FLAC__StreamDecoderReadStatus flac_read_callback(
5 const FLAC__StreamDecoder *,
6 FLAC__byte buffer[],
7- unsigned *bytes,
8+ size_t *bytes,
9 void *client_data)
10 {
11 FLACDecoder::private_data *data = (FLACDecoder::private_data*)client_data;
b7497c57
AM
12
13diff -up akode-2.0.2/akode/lib/auto_sink.cpp.gcc43~ akode-2.0.2/akode/lib/auto_sink.cpp
14--- akode-2.0.2/akode/lib/auto_sink.cpp.gcc43~ 2008-01-13 08:54:32.000000000 +0000
15+++ akode-2.0.2/akode/lib/auto_sink.cpp 2008-01-13 08:54:32.000000000 +0000
16@@ -18,6 +18,7 @@
17 Boston, MA 02110-1301, USA.
18 */
19
20+#include <stdlib.h>
21 #include "audioframe.h"
22 #include "auto_sink.h"
23
24diff -up akode-2.0.2/akode/lib/player.cpp.gcc43~ akode-2.0.2/akode/lib/player.cpp
25--- akode-2.0.2/akode/lib/player.cpp.gcc43~ 2008-01-13 08:54:35.000000000 +0000
26+++ akode-2.0.2/akode/lib/player.cpp 2008-01-13 08:54:35.000000000 +0000
27@@ -18,6 +18,7 @@
28 Boston, MA 02110-1301, USA.
29 */
30
31+#include <string.h>
32 #include <pthread.h>
33 #include <semaphore.h>
34 #include <assert.h>
35diff -up akode-2.0.2/akode/lib/magic.cpp.gcc43~ akode-2.0.2/akode/lib/magic.cpp
36--- akode-2.0.2/akode/lib/magic.cpp.gcc43~ 2008-01-13 08:54:36.000000000 +0000
37+++ akode-2.0.2/akode/lib/magic.cpp 2008-01-13 08:54:36.000000000 +0000
38@@ -18,6 +18,7 @@
39 Boston, MA 02110-1301, USA.
40 */
41
42+#include <string.h>
43 #include "akodelib.h"
44 #include "magic.h"
45 #include "file.h"
46diff -up akode-2.0.2/akode/akodeplay/akodeplay.cpp.gcc43~ akode-2.0.2/akode/akodeplay/akodeplay.cpp
47--- akode-2.0.2/akode/akodeplay/akodeplay.cpp.gcc43~ 2008-01-13 08:54:53.000000000 +0000
48+++ akode-2.0.2/akode/akodeplay/akodeplay.cpp 2008-01-13 08:54:53.000000000 +0000
49@@ -18,6 +18,7 @@
50 Boston, MA 02110-1301, USA.
51 */
52
53+#include <stdlib.h>
54 #include <iostream>
55
56 #include "../lib/akodelib.h"
This page took 0.086586 seconds and 4 git commands to generate.