summaryrefslogtreecommitdiff
path: root/emulators/spim/files
diff options
context:
space:
mode:
Diffstat (limited to 'emulators/spim/files')
-rw-r--r--emulators/spim/files/patch-0111
-rw-r--r--emulators/spim/files/patch-0211
-rw-r--r--emulators/spim/files/patch-0367
3 files changed, 4 insertions, 85 deletions
diff --git a/emulators/spim/files/patch-01 b/emulators/spim/files/patch-01
index 369590faf3dd..e1df4551ca36 100644
--- a/emulators/spim/files/patch-01
+++ b/emulators/spim/files/patch-01
@@ -1,7 +1,6 @@
-diff -ru Imakefile.orig Imakefile
---- Imakefile.orig Fri Sep 20 22:44:50 1996
-+++ Imakefile Mon Feb 3 11:26:40 1997
-@@ -57,13 +57,13 @@
+--- Imakefile.orig Sun Jan 14 20:55:15 2001
++++ Imakefile Sun Feb 11 23:49:11 2001
+@@ -44,13 +44,13 @@
#
# Full path for directory that will hold the trap handler file:
@@ -18,12 +17,10 @@ diff -ru Imakefile.orig Imakefile
# If you have flex, use it instead of lex. If you use flex, define this
-@@ -291,7 +291,7 @@
+@@ -255,7 +255,7 @@
mv -f lex.yy.c.xx lex.yy.c
depend::
- makedepend -w10 *.c
+ makedepend -w10 -I$(X11BASE)/include *.c
- #
- # DO NOT DELETE THIS LINE -- make depend depends on it.
diff --git a/emulators/spim/files/patch-02 b/emulators/spim/files/patch-02
deleted file mode 100644
index dcc77703eaa3..000000000000
--- a/emulators/spim/files/patch-02
+++ /dev/null
@@ -1,11 +0,0 @@
---- cl-except.h.orig Fri Aug 25 07:05:25 1995
-+++ cl-except.h Mon Oct 28 23:34:02 1996
-@@ -25,7 +25,7 @@
- #define _BSD_SIGNALS
- #endif
-
--#include <syscall.h>
-+#include <sys/syscall.h>
- #include <signal.h>
-
- /* gdb-style for tracking each signal */
diff --git a/emulators/spim/files/patch-03 b/emulators/spim/files/patch-03
deleted file mode 100644
index 9d2c6e1418d7..000000000000
--- a/emulators/spim/files/patch-03
+++ /dev/null
@@ -1,67 +0,0 @@
---- cl-except.c.orig Fri Aug 25 07:13:05 1995
-+++ cl-except.c Tue Oct 29 00:37:44 1996
-@@ -46,6 +46,7 @@
- /* Exported Variables: */
-
- mem_addr breakpoint_reinsert; /* !0 -> reinsert break at this address */
-+spim_proc proc; /* spim's signal tracking structure */
-
-
- /* Imported Variables: */
-@@ -67,14 +68,14 @@
- #ifdef __STDC__
- static void intercept_signals (int sig, int code, struct sigcontext *scp);
- static mem_addr compute_branch_target (instruction *inst);
--static void psignal (int sig);
-+static void spim_psignal (int sig);
- static int issig (void);
- static int psig (void);
- static void sendsig (void);
- #else
- static void intercept_signals ();
- static mem_addr compute_branch_target ();
--static void psignal ();
-+static void spim_psignal ();
- static int issig ();
- static int psig ();
- static void sendsig ();
-@@ -266,7 +267,7 @@
-
- else if (retval == 0)
- /* bad system call --> turn into a signal */
-- psignal (excpt_handler[SYSCALL_EXCPT].sig);
-+ spim_psignal (excpt_handler[SYSCALL_EXCPT].sig);
-
- retval = !retval; /* retval == 1 -> syscall ok;
- * retval == 0 -> syscall bad */
-@@ -286,7 +287,7 @@
- case IBUS_EXCPT:
- case DBUS_EXCPT:
- case CPU_EXCPT:
-- psignal (excpt_handler[excpt_code].sig);
-+ spim_psignal (excpt_handler[excpt_code].sig);
- break;
-
-
-@@ -456,7 +457,7 @@
- }
- else if (spim_related_sig & (1 << sig))
- cycle_steps = 0;
-- else psignal (sig);
-+ else spim_psignal (sig);
- }
-
-
-@@ -466,10 +467,10 @@
-
- #ifdef __STDC__
- static void
--psignal (int sig)
-+spim_psignal (int sig)
- #else
- static void
--psignal (sig)
-+spim_psignal (sig)
- int sig;
- #endif
- {