summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Dupeyron <calchan@gentoo.org>2008-06-22 08:22:48 +0000
committerDenis Dupeyron <calchan@gentoo.org>2008-06-22 08:22:48 +0000
commit0b9dabada27e699fdd3d2d0885f8250710ced1c6 (patch)
tree12a3b3e1cfe5219e6db89c3791414a49a4d2bb3f /dev-embedded
parentFix manifest (diff)
downloadhistorical-0b9dabada27e699fdd3d2d0885f8250710ced1c6.tar.gz
historical-0b9dabada27e699fdd3d2d0885f8250710ced1c6.tar.bz2
historical-0b9dabada27e699fdd3d2d0885f8250710ced1c6.zip
Committed the gcc 4.3 patch this time, thanks to Christopher Head (bug #228819).
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.25-gentoo-r4 i686
Diffstat (limited to 'dev-embedded')
-rw-r--r--dev-embedded/gpsim/ChangeLog7
-rw-r--r--dev-embedded/gpsim/Manifest3
-rw-r--r--dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch194
3 files changed, 202 insertions, 2 deletions
diff --git a/dev-embedded/gpsim/ChangeLog b/dev-embedded/gpsim/ChangeLog
index 9ccbb0b7232c..7cf647758550 100644
--- a/dev-embedded/gpsim/ChangeLog
+++ b/dev-embedded/gpsim/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-embedded/gpsim
# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/ChangeLog,v 1.38 2008/06/17 11:33:00 calchan Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpsim/ChangeLog,v 1.39 2008/06/22 08:22:48 calchan Exp $
+
+ 22 Jun 2008; Denis Dupeyron <calchan@gentoo.org>
+ +files/gpsim-0.22.0-gcc43.patch:
+ Committed the gcc 4.3 patch this time, thanks to Christopher Head (bug
+ #228819).
17 Jun 2008; Denis Dupeyron <calchan@gentoo.org> gpsim-0.22.0.ebuild:
Fixed compilation with gcc 4.3, thanks to GerbilSoft (bug #218210).
diff --git a/dev-embedded/gpsim/Manifest b/dev-embedded/gpsim/Manifest
index c4b0739ae13d..4bf55aa21220 100644
--- a/dev-embedded/gpsim/Manifest
+++ b/dev-embedded/gpsim/Manifest
@@ -1,5 +1,6 @@
AUX gpsim-0.22.0-eXdbm.patch 1948 RMD160 06448d964aebd6a752525b22e211e98a1ea4ee05 SHA1 7e114b69627496be5af95a2839dde4cdd75c9142 SHA256 51edfc447ba37fa5e909e13448bcba77a3c7c18362378245678bb8a784b2bd28
+AUX gpsim-0.22.0-gcc43.patch 6713 RMD160 e0bdb9b9854414d9db8fe8de96a888f6f05b4093 SHA1 0583dcd317b3e054dffc5a618b9048114d70a5fc SHA256 ca5ac3e69e9acd816997d55eaf2e4863e9c959148d72588bffcfca5a30a8305e
DIST gpsim-0.22.0.tar.gz 1528125 RMD160 92701bf669a20a6e17e9c3f8b03627ac9214a4bf SHA1 26315f15b0c675f84c0fad6330befb0e683d0bdd SHA256 08fdc92b88dee4cd9d63e5abe56dc73940b0efec427997eee005f8fe75d54fc7
EBUILD gpsim-0.22.0.ebuild 1299 RMD160 10d4aa91c8995a6ab1185dbe6813c92f101c2151 SHA1 51ce1f682f460a9bdbb44afc738c476713d48cd0 SHA256 42fbf7ef2a542420bc2ae27e4cfee55bfc5eba4ee63c87d21044a94a8cfeb685
-MISC ChangeLog 5843 RMD160 cec912e76e245d57a4795480dd53e08ad72210c2 SHA1 3e983a155e0a068fec2801aed6b15c1b866bcb49 SHA256 15f585b2cb64150f54e18106b0e2a44c2a9cfbc58e4de4b688004142dc5da981
+MISC ChangeLog 6015 RMD160 9f8bb426d2aefa788b96557f968c48841c23c3f3 SHA1 78faabf6982cfe21446b7a45235e0f69386c8f30 SHA256 c282b7630fce0787298059c6afa705648b390afab625be4eb40153ddbfd9757f
MISC metadata.xml 165 RMD160 3965c22a153ed350bcbd52de07c08ad47dd03cd7 SHA1 54b9da7fdc6d8376c990288c72938be9855ef8b6 SHA256 fb7ede94a0633f77d601e3e81580eac1624a3bca14401a49d94082579507ba0a
diff --git a/dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch b/dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch
new file mode 100644
index 000000000000..34c4d5306b12
--- /dev/null
+++ b/dev-embedded/gpsim/files/gpsim-0.22.0-gcc43.patch
@@ -0,0 +1,194 @@
+diff -u --recursive gpsim-0.22.0-orig/cli/cmd_clear.cc gpsim-0.22.0/cli/cmd_clear.cc
+--- gpsim-0.22.0-orig/cli/cmd_clear.cc 2006-04-08 22:09:49.000000000 -0400
++++ gpsim-0.22.0/cli/cmd_clear.cc 2008-05-29 22:26:11.000000000 -0400
+@@ -22,6 +22,7 @@
+ #include <iostream>
+ #include <iomanip>
+ #include <string>
++#include <typeinfo>
+
+ #include "command.h"
+ #include "cmd_clear.h"
+diff -u --recursive gpsim-0.22.0-orig/cli/cmd_x.cc gpsim-0.22.0/cli/cmd_x.cc
+--- gpsim-0.22.0-orig/cli/cmd_x.cc 2006-04-08 22:09:49.000000000 -0400
++++ gpsim-0.22.0/cli/cmd_x.cc 2008-05-29 22:26:14.000000000 -0400
+@@ -22,7 +22,7 @@
+ #include <iostream>
+ #include <iomanip>
+ #include <string>
+-
++#include <typeinfo>
+
+ #include "command.h"
+ #include "cmd_x.h"
+diff -u --recursive gpsim-0.22.0-orig/gui/gui_regwin.cc gpsim-0.22.0/gui/gui_regwin.cc
+--- gpsim-0.22.0-orig/gui/gui_regwin.cc 2006-11-07 12:15:53.000000000 -0500
++++ gpsim-0.22.0/gui/gui_regwin.cc 2008-05-29 22:26:18.000000000 -0400
+@@ -23,6 +23,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
++#include <typeinfo>
+
+ #include "../config.h"
+ #ifdef HAVE_GUI
+diff -u --recursive gpsim-0.22.0-orig/gui/gui_src.cc gpsim-0.22.0/gui/gui_src.cc
+--- gpsim-0.22.0-orig/gui/gui_src.cc 2006-08-13 11:58:27.000000000 -0400
++++ gpsim-0.22.0/gui/gui_src.cc 2008-05-29 22:26:20.000000000 -0400
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
++#include <typeinfo>
+
+ #include "../config.h"
+ #ifdef HAVE_GUI
+diff -u --recursive gpsim-0.22.0-orig/gui/gui_stack.cc gpsim-0.22.0/gui/gui_stack.cc
+--- gpsim-0.22.0-orig/gui/gui_stack.cc 2006-04-08 22:09:45.000000000 -0400
++++ gpsim-0.22.0/gui/gui_stack.cc 2008-05-29 22:26:25.000000000 -0400
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
++#include <typeinfo>
+
+ #include "../config.h"
+ #ifdef HAVE_GUI
+diff -u --recursive gpsim-0.22.0-orig/gui/gui_symbols.cc gpsim-0.22.0/gui/gui_symbols.cc
+--- gpsim-0.22.0-orig/gui/gui_symbols.cc 2006-11-07 09:09:20.000000000 -0500
++++ gpsim-0.22.0/gui/gui_symbols.cc 2008-05-29 22:26:23.000000000 -0400
+@@ -22,6 +22,7 @@
+ #include <stdio.h>
+ #include <stdlib.h>
+ #include <errno.h>
++#include <typeinfo>
+
+ #include "../config.h"
+ #ifdef HAVE_GUI
+diff -u --recursive gpsim-0.22.0-orig/gui/settings_exdbm.cc gpsim-0.22.0/gui/settings_exdbm.cc
+--- gpsim-0.22.0-orig/gui/settings_exdbm.cc 2006-04-08 22:09:45.000000000 -0400
++++ gpsim-0.22.0/gui/settings_exdbm.cc 2008-05-29 22:26:51.000000000 -0400
+@@ -20,7 +20,7 @@
+ Boston, MA 02111-1307, USA. */
+
+ #include "settings_exdbm.h"
+-
++#include <stdlib.h>
+
+ SettingsEXdbm::SettingsEXdbm(const char *appl_name)
+ {
+diff -u --recursive gpsim-0.22.0-orig/modules/switch.cc gpsim-0.22.0/modules/switch.cc
+--- gpsim-0.22.0-orig/modules/switch.cc 2006-10-29 09:03:35.000000000 -0500
++++ gpsim-0.22.0/modules/switch.cc 2008-05-29 22:26:29.000000000 -0400
+@@ -37,6 +37,7 @@
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <assert.h>
++#include <typeinfo>
+
+ #include <errno.h>
+ #include <stdlib.h>
+diff -u --recursive gpsim-0.22.0-orig/src/gpsim_object.cc gpsim-0.22.0/src/gpsim_object.cc
+--- gpsim-0.22.0-orig/src/gpsim_object.cc 2006-11-01 09:23:35.000000000 -0500
++++ gpsim-0.22.0/src/gpsim_object.cc 2008-05-29 22:08:51.000000000 -0400
+@@ -24,6 +24,7 @@
+ #include <stdio.h>
+ #include <ctype.h>
+ #include "gpsim_object.h"
++#include <cstring>
+
+ //========================================================================
+
+diff -u --recursive gpsim-0.22.0-orig/src/modules.cc gpsim-0.22.0/src/modules.cc
+--- gpsim-0.22.0-orig/src/modules.cc 2006-09-12 00:44:38.000000000 -0400
++++ gpsim-0.22.0/src/modules.cc 2008-05-29 22:09:56.000000000 -0400
+@@ -28,6 +28,7 @@
+ #include <string>
+ #include <list>
+ #include <vector>
++#include <typeinfo>
+
+ #include "../config.h"
+
+diff -u --recursive gpsim-0.22.0-orig/src/modules.h gpsim-0.22.0/src/modules.h
+--- gpsim-0.22.0-orig/src/modules.h 2006-09-12 00:44:38.000000000 -0400
++++ gpsim-0.22.0/src/modules.h 2008-05-29 22:04:12.000000000 -0400
+@@ -31,6 +31,8 @@
+ #ifndef __MODULES_H__
+ #define __MODULES_H__
+
++#include <cstdlib>
++#include <cstring>
+ #include <list>
+ #include <string>
+ #include <map>
+diff -u --recursive gpsim-0.22.0-orig/src/operator.cc gpsim-0.22.0/src/operator.cc
+--- gpsim-0.22.0-orig/src/operator.cc 2006-07-29 23:56:45.000000000 -0400
++++ gpsim-0.22.0/src/operator.cc 2008-05-29 22:12:02.000000000 -0400
+@@ -5,6 +5,7 @@
+ #include "symbol.h"
+ #include "processor.h"
+
++#include <typeinfo>
+
+ static bool isFloat(Value *v)
+ {
+diff -u --recursive gpsim-0.22.0-orig/src/processor.cc gpsim-0.22.0/src/processor.cc
+--- gpsim-0.22.0-orig/src/processor.cc 2006-11-09 08:34:36.000000000 -0500
++++ gpsim-0.22.0/src/processor.cc 2008-05-29 22:11:04.000000000 -0400
+@@ -51,6 +51,8 @@
+ #include "cmd_gpsim.h"
+ #include "sim_context.h"
+
++#include <typeinfo>
++
+ //------------------------------------------------------------------------
+ // active_cpu is a pointer to the pic processor that is currently 'active'.
+ // 'active' means that it's the one currently being simulated or the one
+diff -u --recursive gpsim-0.22.0-orig/src/processor.h gpsim-0.22.0/src/processor.h
+--- gpsim-0.22.0-orig/src/processor.h 2006-10-18 20:16:30.000000000 -0400
++++ gpsim-0.22.0/src/processor.h 2008-05-29 22:04:31.000000000 -0400
+@@ -395,7 +395,7 @@
+ /// (for those processors that support interrupts), the processor is
+ /// in a different 'state' then when the interrupt flag is cleared.
+
+- list<ProgramMemoryAccess *> pma_context;
++ std::list<ProgramMemoryAccess *> pma_context;
+
+ /// Tracing
+ /// The readTT and writeTT are TraceType objects for tracing
+diff -u --recursive gpsim-0.22.0-orig/src/symbol.cc gpsim-0.22.0/src/symbol.cc
+--- gpsim-0.22.0-orig/src/symbol.cc 2006-07-29 23:58:17.000000000 -0400
++++ gpsim-0.22.0/src/symbol.cc 2008-05-29 22:11:23.000000000 -0400
+@@ -47,6 +47,8 @@
+ #include "cmd_gpsim.h"
+ #include "sim_context.h"
+
++#include <typeinfo>
++
+ class IIndexedCollection;
+
+ //
+diff -u --recursive gpsim-0.22.0-orig/src/value.cc gpsim-0.22.0/src/value.cc
+--- gpsim-0.22.0-orig/src/value.cc 2006-07-29 23:57:39.000000000 -0400
++++ gpsim-0.22.0/src/value.cc 2008-05-29 22:12:18.000000000 -0400
+@@ -33,6 +33,8 @@
+ #include "../config.h"
+ #include "cmd_gpsim.h"
+
++#include <typeinfo>
++
+ char * TrimWhiteSpaceFromString(char * pBuffer) {
+ size_t iPos = 0;
+ char * pChar = pBuffer;
+diff -u --recursive gpsim-0.22.0-orig/src/value.h gpsim-0.22.0/src/value.h
+--- gpsim-0.22.0-orig/src/value.h 2006-07-29 23:49:06.000000000 -0400
++++ gpsim-0.22.0/src/value.h 2008-05-29 22:04:04.000000000 -0400
+@@ -23,6 +23,7 @@
+
+ #include "gpsim_object.h"
+ #include <glib.h>
++#include <cstring>
+
+ class Processor;
+ class Module;