1 |
vostorga 09/09/08 23:25:10 |
2 |
|
3 |
Added: svxlink-090426-gcc44.patch |
4 |
Log: |
5 |
Version bump to 090426 , patch thanks to Thomas Beierlein <tb@××××××××.de> bug 279699 |
6 |
(Portage version: 2.1.6.13/cvs/Linux i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 media-radio/svxlink/files/svxlink-090426-gcc44.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-radio/svxlink/files/svxlink-090426-gcc44.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-radio/svxlink/files/svxlink-090426-gcc44.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: svxlink-090426-gcc44.patch |
15 |
=================================================================== |
16 |
diff -urN svxlink-090426.orig/async/audio/AsyncAudioDecoderS16.cpp svxlink-090426/async/audio/AsyncAudioDecoderS16.cpp |
17 |
--- svxlink-090426.orig/async/audio/AsyncAudioDecoderS16.cpp 2009-07-18 12:07:53.000000000 +0000 |
18 |
+++ svxlink-090426/async/audio/AsyncAudioDecoderS16.cpp 2009-07-18 12:07:31.000000000 +0000 |
19 |
@@ -48,6 +48,7 @@ |
20 |
* |
21 |
****************************************************************************/ |
22 |
|
23 |
+#include <stdint.h> |
24 |
#include "AsyncAudioDecoderS16.h" |
25 |
|
26 |
|
27 |
diff -urN svxlink-090426.orig/async/audio/AsyncAudioDevice.h svxlink-090426/async/audio/AsyncAudioDevice.h |
28 |
--- svxlink-090426.orig/async/audio/AsyncAudioDevice.h 2009-07-18 12:07:53.000000000 +0000 |
29 |
+++ svxlink-090426/async/audio/AsyncAudioDevice.h 2009-07-18 12:07:31.000000000 +0000 |
30 |
@@ -37,6 +37,7 @@ |
31 |
* |
32 |
****************************************************************************/ |
33 |
|
34 |
+#include <stdint.h> |
35 |
#include <sigc++/sigc++.h> |
36 |
|
37 |
#include <string> |
38 |
diff -urN svxlink-090426.orig/async/audio/AsyncAudioRecorder.h svxlink-090426/async/audio/AsyncAudioRecorder.h |
39 |
--- svxlink-090426.orig/async/audio/AsyncAudioRecorder.h 2009-07-18 12:07:53.000000000 +0000 |
40 |
+++ svxlink-090426/async/audio/AsyncAudioRecorder.h 2009-07-18 12:07:31.000000000 +0000 |
41 |
@@ -34,6 +34,7 @@ |
42 |
* |
43 |
****************************************************************************/ |
44 |
|
45 |
+#include <stdint.h> |
46 |
#include <stdio.h> |
47 |
#include <sigc++/sigc++.h> |
48 |
|
49 |
diff -urN svxlink-090426.orig/async/core/AsyncSerialDevice.cpp svxlink-090426/async/core/AsyncSerialDevice.cpp |
50 |
--- svxlink-090426.orig/async/core/AsyncSerialDevice.cpp 2009-07-18 12:07:53.000000000 +0000 |
51 |
+++ svxlink-090426/async/core/AsyncSerialDevice.cpp 2009-07-18 12:07:31.000000000 +0000 |
52 |
@@ -35,6 +35,7 @@ |
53 |
* |
54 |
****************************************************************************/ |
55 |
|
56 |
+#include <cstdio> |
57 |
#include <sys/types.h> |
58 |
#include <sys/stat.h> |
59 |
#include <fcntl.h> |
60 |
diff -urN svxlink-090426.orig/async/cpp/AsyncCppDnsLookupWorker.cpp svxlink-090426/async/cpp/AsyncCppDnsLookupWorker.cpp |
61 |
--- svxlink-090426.orig/async/cpp/AsyncCppDnsLookupWorker.cpp 2009-07-18 12:07:53.000000000 +0000 |
62 |
+++ svxlink-090426/async/cpp/AsyncCppDnsLookupWorker.cpp 2009-07-18 12:07:31.000000000 +0000 |
63 |
@@ -38,6 +38,7 @@ |
64 |
* |
65 |
****************************************************************************/ |
66 |
|
67 |
+#include <cstdio> |
68 |
#include <sys/socket.h> |
69 |
#include <netinet/in.h> |
70 |
#include <arpa/inet.h> |
71 |
diff -urN svxlink-090426.orig/async/demo/AsyncSerial_demo.cpp svxlink-090426/async/demo/AsyncSerial_demo.cpp |
72 |
--- svxlink-090426.orig/async/demo/AsyncSerial_demo.cpp 2009-07-18 12:07:53.000000000 +0000 |
73 |
+++ svxlink-090426/async/demo/AsyncSerial_demo.cpp 2009-07-18 12:07:31.000000000 +0000 |
74 |
@@ -1,3 +1,4 @@ |
75 |
+#include <cstdio> |
76 |
#include <iostream> |
77 |
#include <cstdlib> |
78 |
|
79 |
diff -urN svxlink-090426.orig/echolib/EchoLinkStationData.cpp svxlink-090426/echolib/EchoLinkStationData.cpp |
80 |
--- svxlink-090426.orig/echolib/EchoLinkStationData.cpp 2009-07-18 12:07:53.000000000 +0000 |
81 |
+++ svxlink-090426/echolib/EchoLinkStationData.cpp 2009-07-18 12:07:31.000000000 +0000 |
82 |
@@ -201,7 +201,7 @@ |
83 |
m_status = STAT_UNKNOWN; |
84 |
} |
85 |
|
86 |
- char *space = strchr(end_desc, ' '); |
87 |
+ const char *space = strchr(end_desc, ' '); |
88 |
if (space != 0) |
89 |
{ |
90 |
strncpy(str, space+1, 5); |
91 |
diff -urN svxlink-090426.orig/svxlink/remotetrx/remotetrx.cpp svxlink-090426/svxlink/remotetrx/remotetrx.cpp |
92 |
--- svxlink-090426.orig/svxlink/remotetrx/remotetrx.cpp 2009-07-18 12:07:53.000000000 +0000 |
93 |
+++ svxlink-090426/svxlink/remotetrx/remotetrx.cpp 2009-07-18 12:07:31.000000000 +0000 |
94 |
@@ -678,7 +678,7 @@ |
95 |
} |
96 |
|
97 |
int write_len = 0; |
98 |
- char *nl = strchr(ptr, '\n'); |
99 |
+ const char *nl = strchr(ptr, '\n'); |
100 |
if (nl != 0) |
101 |
{ |
102 |
write_len = nl-ptr+1; |
103 |
diff -urN svxlink-090426.orig/svxlink/svxlink/MsgHandler.cpp svxlink-090426/svxlink/svxlink/MsgHandler.cpp |
104 |
--- svxlink-090426.orig/svxlink/svxlink/MsgHandler.cpp 2009-07-18 12:07:53.000000000 +0000 |
105 |
+++ svxlink-090426/svxlink/svxlink/MsgHandler.cpp 2009-07-18 12:07:31.000000000 +0000 |
106 |
@@ -34,6 +34,7 @@ |
107 |
* |
108 |
****************************************************************************/ |
109 |
|
110 |
+#include <stdint.h> |
111 |
#include <sys/types.h> |
112 |
#include <sys/stat.h> |
113 |
#include <fcntl.h> |
114 |
diff -urN svxlink-090426.orig/svxlink/svxlink/svxlink.cpp svxlink-090426/svxlink/svxlink/svxlink.cpp |
115 |
--- svxlink-090426.orig/svxlink/svxlink/svxlink.cpp 2009-07-18 12:07:53.000000000 +0000 |
116 |
+++ svxlink-090426/svxlink/svxlink/svxlink.cpp 2009-07-18 12:07:31.000000000 +0000 |
117 |
@@ -661,7 +661,7 @@ |
118 |
} |
119 |
|
120 |
int write_len = 0; |
121 |
- char *nl = strchr(ptr, '\n'); |
122 |
+ const char *nl = strchr(ptr, '\n'); |
123 |
if (nl != 0) |
124 |
{ |
125 |
write_len = nl-ptr+1; |