summaryrefslogtreecommitdiff
path: root/emulators/gpsim-devel/patches
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/gpsim-devel/patches')
-rw-r--r--emulators/gpsim-devel/patches/patch-aa21
-rw-r--r--emulators/gpsim-devel/patches/patch-ab18
-rw-r--r--emulators/gpsim-devel/patches/patch-ac32
-rw-r--r--emulators/gpsim-devel/patches/patch-ad34
4 files changed, 105 insertions, 0 deletions
diff --git a/emulators/gpsim-devel/patches/patch-aa b/emulators/gpsim-devel/patches/patch-aa
new file mode 100644
index 00000000000..7e9cf761c6e
--- /dev/null
+++ b/emulators/gpsim-devel/patches/patch-aa
@@ -0,0 +1,21 @@
+$NetBSD: patch-aa,v 1.1.1.1 2004/11/29 20:51:51 bouyer Exp $
+
+--- gui/Makefile.in.orig 2004-06-04 19:40:29.000000000 +0200
++++ gui/Makefile.in 2004-06-04 19:46:48.000000000 +0200
+@@ -117,13 +117,13 @@
+ AWK = @AWK@
+ CC = @CC@
+ CCDEPMODE = @CCDEPMODE@
+-CFLAGS = @CFLAGS@ -D DATADIR=\"~/.gpsim/\"
++CFLAGS = @CFLAGS@ -DDATADIR=\"~/.gpsim/\"
+ CPP = @CPP@
+-CPPFLAGS = @CPPFLAGS@ -D DATADIR=\"~/.gpsim/\"
++CPPFLAGS = @CPPFLAGS@ -DDATADIR=\"~/.gpsim/\"
+ CXX = @CXX@
+ CXXCPP = @CXXCPP@
+ CXXDEPMODE = @CXXDEPMODE@
+-CXXFLAGS = @CXXFLAGS@ -D DATADIR=\"~/.gpsim/\"
++CXXFLAGS = @CXXFLAGS@ -DDATADIR=\"~/.gpsim/\"
+ CYGPATH_W = @CYGPATH_W@
+ DEFS = @DEFS@
+ DEPDIR = @DEPDIR@
diff --git a/emulators/gpsim-devel/patches/patch-ab b/emulators/gpsim-devel/patches/patch-ab
new file mode 100644
index 00000000000..28064130c99
--- /dev/null
+++ b/emulators/gpsim-devel/patches/patch-ab
@@ -0,0 +1,18 @@
+$NetBSD: patch-ab,v 1.1.1.1 2004/11/29 20:51:51 bouyer Exp $
+
+Index: src/stimuli.cc
+===================================================================
+RCS file: /cvsroot/gpsim/src/stimuli.cc,v
+retrieving revision 1.59
+diff -u -r1.59 stimuli.cc
+--- src/stimuli.cc 26 Aug 2004 14:37:03 -0000 1.59
++++ src/stimuli.cc 4 Nov 2004 22:06:02 -0000
+@@ -1325,6 +1325,8 @@
+
+ double IO_open_collector::get_Zth()
+ {
++ if(iop)
++ digital_state = (iop->value.get() & (1<<iobit)) ? true : false;
+ return (driving && !digital_state) ? Zth : ZthIn;
+
+ }
diff --git a/emulators/gpsim-devel/patches/patch-ac b/emulators/gpsim-devel/patches/patch-ac
new file mode 100644
index 00000000000..989b7e4653a
--- /dev/null
+++ b/emulators/gpsim-devel/patches/patch-ac
@@ -0,0 +1,32 @@
+$NetBSD: patch-ac,v 1.1.1.1 2004/11/29 20:51:51 bouyer Exp $
+
+Index: cli/parse.yy
+===================================================================
+RCS file: /cvsroot/gpsim/cli/parse.yy,v
+retrieving revision 1.38
+diff -u -r1.38 parse.yy
+--- cli/parse.yy 24 Aug 2004 22:27:26 -0000 1.38
++++ cli/parse.yy 4 Nov 2004 18:21:06 -0000
+@@ -584,13 +584,21 @@
+ }
+ ;
+
+-string_option: STRING_OPTION STRING
++string_option
++ : STRING_OPTION STRING
+ {
+ $$ = new cmd_options_str($2);
+ $$->co = $1;
+ if(verbose&2)
+ cout << " name " << $$->co->name << " value " << $$->str << " got a string option \n";
+ }
++ | STRING_OPTION SYMBOL_T
++ {
++ $$ = new cmd_options_str($2->name().c_str());
++ $$->co = $1;
++ if(verbose&2)
++ cout << " name " << $$->co->name << " value " << $$->str << " got a string option \n";
++ }
+ ;
+
+ string_list
diff --git a/emulators/gpsim-devel/patches/patch-ad b/emulators/gpsim-devel/patches/patch-ad
new file mode 100644
index 00000000000..9f77bab0943
--- /dev/null
+++ b/emulators/gpsim-devel/patches/patch-ad
@@ -0,0 +1,34 @@
+$NetBSD: patch-ad,v 1.1.1.1 2004/11/29 20:51:51 bouyer Exp $
+
+Index: cli/command.cc
+===================================================================
+RCS file: /cvsroot/gpsim/cli/command.cc,v
+retrieving revision 1.12
+diff -u -r1.12 command.cc
+--- cli/command.cc 27 Jun 2004 14:28:35 -0000 1.12
++++ cli/command.cc 4 Nov 2004 18:27:54 -0000
+@@ -224,7 +224,7 @@
+ //========================================================================
+ // Command options
+
+-cmd_options_str::cmd_options_str(char *new_val)
++cmd_options_str::cmd_options_str(const char *new_val)
+ {
+ if(new_val)
+ str = strdup(new_val);
+Index: cli/misc.h
+===================================================================
+RCS file: /cvsroot/gpsim/cli/misc.h,v
+retrieving revision 1.4
+diff -u -r1.4 misc.h
+--- cli/misc.h 29 Jun 2004 16:00:02 -0000 1.4
++++ cli/misc.h 4 Nov 2004 18:27:54 -0000
+@@ -45,7 +45,7 @@
+ public:
+ cmd_options *co;
+ char *str;
+- cmd_options_str(char *);
++ cmd_options_str(const char *);
+ ~cmd_options_str();
+ };
+