1 |
calchan 08/06/22 08:22:49 |
2 |
|
3 |
Added: gpsim-0.22.0-gcc43.patch |
4 |
Log: |
5 |
Committed the gcc 4.3 patch this time, thanks to Christopher Head (bug #228819). |
6 |
(Portage version: 2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 i686) |
7 |
|
8 |
Revision Changes Path |
9 |
1.1 dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch?rev=1.1&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch?rev=1.1&content-type=text/plain |
13 |
|
14 |
Index: gpsim-0.22.0-gcc43.patch |
15 |
=================================================================== |
16 |
diff -u --recursive gpsim-0.22.0-orig/cli/cmd_clear.cc gpsim-0.22.0/cli/cmd_clear.cc |
17 |
--- gpsim-0.22.0-orig/cli/cmd_clear.cc 2006-04-08 22:09:49.000000000 -0400 |
18 |
+++ gpsim-0.22.0/cli/cmd_clear.cc 2008-05-29 22:26:11.000000000 -0400 |
19 |
@@ -22,6 +22,7 @@ |
20 |
#include <iostream> |
21 |
#include <iomanip> |
22 |
#include <string> |
23 |
+#include <typeinfo> |
24 |
|
25 |
#include "command.h" |
26 |
#include "cmd_clear.h" |
27 |
diff -u --recursive gpsim-0.22.0-orig/cli/cmd_x.cc gpsim-0.22.0/cli/cmd_x.cc |
28 |
--- gpsim-0.22.0-orig/cli/cmd_x.cc 2006-04-08 22:09:49.000000000 -0400 |
29 |
+++ gpsim-0.22.0/cli/cmd_x.cc 2008-05-29 22:26:14.000000000 -0400 |
30 |
@@ -22,7 +22,7 @@ |
31 |
#include <iostream> |
32 |
#include <iomanip> |
33 |
#include <string> |
34 |
- |
35 |
+#include <typeinfo> |
36 |
|
37 |
#include "command.h" |
38 |
#include "cmd_x.h" |
39 |
diff -u --recursive gpsim-0.22.0-orig/gui/gui_regwin.cc gpsim-0.22.0/gui/gui_regwin.cc |
40 |
--- gpsim-0.22.0-orig/gui/gui_regwin.cc 2006-11-07 12:15:53.000000000 -0500 |
41 |
+++ gpsim-0.22.0/gui/gui_regwin.cc 2008-05-29 22:26:18.000000000 -0400 |
42 |
@@ -23,6 +23,7 @@ |
43 |
#include <stdio.h> |
44 |
#include <stdlib.h> |
45 |
#include <errno.h> |
46 |
+#include <typeinfo> |
47 |
|
48 |
#include "../config.h" |
49 |
#ifdef HAVE_GUI |
50 |
diff -u --recursive gpsim-0.22.0-orig/gui/gui_src.cc gpsim-0.22.0/gui/gui_src.cc |
51 |
--- gpsim-0.22.0-orig/gui/gui_src.cc 2006-08-13 11:58:27.000000000 -0400 |
52 |
+++ gpsim-0.22.0/gui/gui_src.cc 2008-05-29 22:26:20.000000000 -0400 |
53 |
@@ -22,6 +22,7 @@ |
54 |
#include <stdio.h> |
55 |
#include <stdlib.h> |
56 |
#include <errno.h> |
57 |
+#include <typeinfo> |
58 |
|
59 |
#include "../config.h" |
60 |
#ifdef HAVE_GUI |
61 |
diff -u --recursive gpsim-0.22.0-orig/gui/gui_stack.cc gpsim-0.22.0/gui/gui_stack.cc |
62 |
--- gpsim-0.22.0-orig/gui/gui_stack.cc 2006-04-08 22:09:45.000000000 -0400 |
63 |
+++ gpsim-0.22.0/gui/gui_stack.cc 2008-05-29 22:26:25.000000000 -0400 |
64 |
@@ -22,6 +22,7 @@ |
65 |
#include <stdio.h> |
66 |
#include <stdlib.h> |
67 |
#include <errno.h> |
68 |
+#include <typeinfo> |
69 |
|
70 |
#include "../config.h" |
71 |
#ifdef HAVE_GUI |
72 |
diff -u --recursive gpsim-0.22.0-orig/gui/gui_symbols.cc gpsim-0.22.0/gui/gui_symbols.cc |
73 |
--- gpsim-0.22.0-orig/gui/gui_symbols.cc 2006-11-07 09:09:20.000000000 -0500 |
74 |
+++ gpsim-0.22.0/gui/gui_symbols.cc 2008-05-29 22:26:23.000000000 -0400 |
75 |
@@ -22,6 +22,7 @@ |
76 |
#include <stdio.h> |
77 |
#include <stdlib.h> |
78 |
#include <errno.h> |
79 |
+#include <typeinfo> |
80 |
|
81 |
#include "../config.h" |
82 |
#ifdef HAVE_GUI |
83 |
diff -u --recursive gpsim-0.22.0-orig/gui/settings_exdbm.cc gpsim-0.22.0/gui/settings_exdbm.cc |
84 |
--- gpsim-0.22.0-orig/gui/settings_exdbm.cc 2006-04-08 22:09:45.000000000 -0400 |
85 |
+++ gpsim-0.22.0/gui/settings_exdbm.cc 2008-05-29 22:26:51.000000000 -0400 |
86 |
@@ -20,7 +20,7 @@ |
87 |
Boston, MA 02111-1307, USA. */ |
88 |
|
89 |
#include "settings_exdbm.h" |
90 |
- |
91 |
+#include <stdlib.h> |
92 |
|
93 |
SettingsEXdbm::SettingsEXdbm(const char *appl_name) |
94 |
{ |
95 |
diff -u --recursive gpsim-0.22.0-orig/modules/switch.cc gpsim-0.22.0/modules/switch.cc |
96 |
--- gpsim-0.22.0-orig/modules/switch.cc 2006-10-29 09:03:35.000000000 -0500 |
97 |
+++ gpsim-0.22.0/modules/switch.cc 2008-05-29 22:26:29.000000000 -0400 |
98 |
@@ -37,6 +37,7 @@ |
99 |
#include <sys/stat.h> |
100 |
#include <fcntl.h> |
101 |
#include <assert.h> |
102 |
+#include <typeinfo> |
103 |
|
104 |
#include <errno.h> |
105 |
#include <stdlib.h> |
106 |
diff -u --recursive gpsim-0.22.0-orig/src/gpsim_object.cc gpsim-0.22.0/src/gpsim_object.cc |
107 |
--- gpsim-0.22.0-orig/src/gpsim_object.cc 2006-11-01 09:23:35.000000000 -0500 |
108 |
+++ gpsim-0.22.0/src/gpsim_object.cc 2008-05-29 22:08:51.000000000 -0400 |
109 |
@@ -24,6 +24,7 @@ |
110 |
#include <stdio.h> |
111 |
#include <ctype.h> |
112 |
#include "gpsim_object.h" |
113 |
+#include <cstring> |
114 |
|
115 |
//======================================================================== |
116 |
|
117 |
diff -u --recursive gpsim-0.22.0-orig/src/modules.cc gpsim-0.22.0/src/modules.cc |
118 |
--- gpsim-0.22.0-orig/src/modules.cc 2006-09-12 00:44:38.000000000 -0400 |
119 |
+++ gpsim-0.22.0/src/modules.cc 2008-05-29 22:09:56.000000000 -0400 |
120 |
@@ -28,6 +28,7 @@ |
121 |
#include <string> |
122 |
#include <list> |
123 |
#include <vector> |
124 |
+#include <typeinfo> |
125 |
|
126 |
#include "../config.h" |
127 |
|
128 |
diff -u --recursive gpsim-0.22.0-orig/src/modules.h gpsim-0.22.0/src/modules.h |
129 |
--- gpsim-0.22.0-orig/src/modules.h 2006-09-12 00:44:38.000000000 -0400 |
130 |
+++ gpsim-0.22.0/src/modules.h 2008-05-29 22:04:12.000000000 -0400 |
131 |
@@ -31,6 +31,8 @@ |
132 |
#ifndef __MODULES_H__ |
133 |
#define __MODULES_H__ |
134 |
|
135 |
+#include <cstdlib> |
136 |
+#include <cstring> |
137 |
#include <list> |
138 |
#include <string> |
139 |
#include <map> |
140 |
diff -u --recursive gpsim-0.22.0-orig/src/operator.cc gpsim-0.22.0/src/operator.cc |
141 |
--- gpsim-0.22.0-orig/src/operator.cc 2006-07-29 23:56:45.000000000 -0400 |
142 |
+++ gpsim-0.22.0/src/operator.cc 2008-05-29 22:12:02.000000000 -0400 |
143 |
@@ -5,6 +5,7 @@ |
144 |
#include "symbol.h" |
145 |
#include "processor.h" |
146 |
|
147 |
+#include <typeinfo> |
148 |
|
149 |
static bool isFloat(Value *v) |
150 |
{ |
151 |
diff -u --recursive gpsim-0.22.0-orig/src/processor.cc gpsim-0.22.0/src/processor.cc |
152 |
--- gpsim-0.22.0-orig/src/processor.cc 2006-11-09 08:34:36.000000000 -0500 |
153 |
+++ gpsim-0.22.0/src/processor.cc 2008-05-29 22:11:04.000000000 -0400 |
154 |
@@ -51,6 +51,8 @@ |
155 |
#include "cmd_gpsim.h" |
156 |
#include "sim_context.h" |
157 |
|
158 |
+#include <typeinfo> |
159 |
+ |
160 |
//------------------------------------------------------------------------ |
161 |
// active_cpu is a pointer to the pic processor that is currently 'active'. |
162 |
// 'active' means that it's the one currently being simulated or the one |
163 |
diff -u --recursive gpsim-0.22.0-orig/src/processor.h gpsim-0.22.0/src/processor.h |
164 |
--- gpsim-0.22.0-orig/src/processor.h 2006-10-18 20:16:30.000000000 -0400 |
165 |
+++ gpsim-0.22.0/src/processor.h 2008-05-29 22:04:31.000000000 -0400 |
166 |
@@ -395,7 +395,7 @@ |
167 |
/// (for those processors that support interrupts), the processor is |
168 |
/// in a different 'state' then when the interrupt flag is cleared. |
169 |
|
170 |
- list<ProgramMemoryAccess *> pma_context; |
171 |
+ std::list<ProgramMemoryAccess *> pma_context; |
172 |
|
173 |
/// Tracing |
174 |
/// The readTT and writeTT are TraceType objects for tracing |
175 |
diff -u --recursive gpsim-0.22.0-orig/src/symbol.cc gpsim-0.22.0/src/symbol.cc |
176 |
--- gpsim-0.22.0-orig/src/symbol.cc 2006-07-29 23:58:17.000000000 -0400 |
177 |
+++ gpsim-0.22.0/src/symbol.cc 2008-05-29 22:11:23.000000000 -0400 |
178 |
@@ -47,6 +47,8 @@ |
179 |
#include "cmd_gpsim.h" |
180 |
#include "sim_context.h" |
181 |
|
182 |
+#include <typeinfo> |
183 |
+ |
184 |
class IIndexedCollection; |
185 |
|
186 |
// |
187 |
diff -u --recursive gpsim-0.22.0-orig/src/value.cc gpsim-0.22.0/src/value.cc |
188 |
--- gpsim-0.22.0-orig/src/value.cc 2006-07-29 23:57:39.000000000 -0400 |
189 |
+++ gpsim-0.22.0/src/value.cc 2008-05-29 22:12:18.000000000 -0400 |
190 |
@@ -33,6 +33,8 @@ |
191 |
#include "../config.h" |
192 |
#include "cmd_gpsim.h" |
193 |
|
194 |
+#include <typeinfo> |
195 |
+ |
196 |
char * TrimWhiteSpaceFromString(char * pBuffer) { |
197 |
size_t iPos = 0; |
198 |
char * pChar = pBuffer; |
199 |
diff -u --recursive gpsim-0.22.0-orig/src/value.h gpsim-0.22.0/src/value.h |
200 |
--- gpsim-0.22.0-orig/src/value.h 2006-07-29 23:49:06.000000000 -0400 |
201 |
+++ gpsim-0.22.0/src/value.h 2008-05-29 22:04:04.000000000 -0400 |
202 |
@@ -23,6 +23,7 @@ |
203 |
|
204 |
#include "gpsim_object.h" |
205 |
#include <glib.h> |
206 |
+#include <cstring> |
207 |
|
208 |
class Processor; |
209 |
class Module; |
210 |
|
211 |
|
212 |
|
213 |
-- |
214 |
gentoo-commits@l.g.o mailing list |