upgrade to spim 7.1
This commit is contained in:
parent
88889310b6
commit
a9ca5a103e
@ -1,9 +1,9 @@
|
||||
# $OpenBSD: Makefile,v 1.6 2004/11/27 10:39:14 espie Exp $
|
||||
# $OpenBSD: Makefile,v 1.7 2005/01/31 06:18:23 kevlo Exp $
|
||||
|
||||
COMMENT= "MIPS R2000/R3000 simulator"
|
||||
|
||||
DISTNAME= spim
|
||||
PKGNAME= spim-7.0
|
||||
PKGNAME= spim-7.1
|
||||
CATEGORIES= emulators
|
||||
|
||||
HOMEPAGE= http://www.cs.wisc.edu/~larus/spim.html
|
||||
|
@ -1,4 +1,4 @@
|
||||
MD5 (spim.tar.gz) = c93d8ef25cee2d8847f4f98d30c20889
|
||||
RMD160 (spim.tar.gz) = 8fdf2ce9e394a5b05f7d1573ad2b4098f4e71b49
|
||||
SHA1 (spim.tar.gz) = dc76770126a7df9df0bfb636197cad8119937d6a
|
||||
SIZE (spim.tar.gz) = 302395
|
||||
MD5 (spim.tar.gz) = 24546da54bca92d96bf2ea284e81d6eb
|
||||
RMD160 (spim.tar.gz) = 175f63d95011a20087ab135de54b03fccc98286d
|
||||
SHA1 (spim.tar.gz) = 3e0399e4c2e007aecbd2532b9d8f3f63b7035ff9
|
||||
SIZE (spim.tar.gz) = 307599
|
||||
|
@ -1,6 +1,6 @@
|
||||
$OpenBSD: patch-spim_c,v 1.1 2004/10/01 06:18:14 robert Exp $
|
||||
--- spim.c.orig Fri Oct 1 08:03:15 2004
|
||||
+++ spim.c Fri Oct 1 08:06:33 2004
|
||||
$OpenBSD: patch-spim_c,v 1.2 2005/01/31 06:18:23 kevlo Exp $
|
||||
--- spim.c.orig Mon Jan 3 00:03:50 2005
|
||||
+++ spim.c Mon Jan 31 13:40:55 2005
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <ctype.h>
|
||||
#include <setjmp.h>
|
||||
@ -9,3 +9,31 @@ $OpenBSD: patch-spim_c,v 1.1 2004/10/01 06:18:14 robert Exp $
|
||||
#include <arpa/inet.h>
|
||||
#include <sys/ioctl.h>
|
||||
|
||||
@@ -1016,7 +1017,8 @@ console_to_program ()
|
||||
#ifdef USE_TERMIOS
|
||||
struct termios params;
|
||||
|
||||
- ioctl (console_in.i, TCGETA, (char *) &saved_console_state);
|
||||
+ tcgetattr(console_in.i, &saved_console_state);
|
||||
+
|
||||
params = saved_console_state;
|
||||
params.c_iflag &= ~(ISTRIP|IUCLC|INLCR|ICRNL|IGNCR|IXON|IXOFF|IXANY|INPCK|BRKINT|PARMRK);
|
||||
|
||||
@@ -1027,7 +1029,7 @@ console_to_program ()
|
||||
params.c_lflag = 0;
|
||||
params.c_cc[VMIN] = 1;
|
||||
params.c_cc[VTIME] = 1;
|
||||
- ioctl ((int)console_in.i, TCSETA, (char *) ¶ms);
|
||||
+ tcsetattr(console_in.i, TCSANOW, ¶ms);
|
||||
#else
|
||||
int flags;
|
||||
ioctl ((int) console_in.i, TIOCGETP, (char *) &saved_console_state);
|
||||
@@ -1048,7 +1050,7 @@ console_to_spim ()
|
||||
{
|
||||
if (mapped_io && console_state_saved)
|
||||
#ifdef USE_TERMIOS
|
||||
- ioctl ((int) console_in.i, TCSETA, (char *) &saved_console_state);
|
||||
+ tcsetattr(console_in.i, TCSANOW, &saved_console_state);
|
||||
#else
|
||||
ioctl ((int) console_in.i, TIOCSETP, (char *) &saved_console_state);
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user