diff options
author | James E. Housley <jeh@FreeBSD.org> | 2003-10-16 17:11:18 +0000 |
---|---|---|
committer | James E. Housley <jeh@FreeBSD.org> | 2003-10-16 17:11:18 +0000 |
commit | c16c6082eb0595637a762b6a2fbef67769237fd5 (patch) | |
tree | 69c47acbcbe6d21e5a5407a0e7ddb3679976d883 /emulators/sim6811 | |
parent | 6c910b584456271eece85614eaec922b933242a1 (diff) | |
download | ports-c16c6082eb0595637a762b6a2fbef67769237fd5.tar.gz ports-c16c6082eb0595637a762b6a2fbef67769237fd5.zip |
Notes
Diffstat (limited to 'emulators/sim6811')
-rw-r--r-- | emulators/sim6811/Makefile | 5 | ||||
-rw-r--r-- | emulators/sim6811/files/patch-ac | 35 |
2 files changed, 36 insertions, 4 deletions
diff --git a/emulators/sim6811/Makefile b/emulators/sim6811/Makefile index d80ae9533d84..99464ad655c2 100644 --- a/emulators/sim6811/Makefile +++ b/emulators/sim6811/Makefile @@ -7,6 +7,7 @@ PORTNAME= sim6811 PORTVERSION= 1.6 +PORTREVISION= 1 CATEGORIES= emulators MASTER_SITES= ftp://crl.nmsu.edu/pub/non-lexical/6811/ DISTNAME= sim @@ -19,8 +20,4 @@ NO_WRKSUBDIR= yes .include <bsd.port.pre.mk> -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - .include <bsd.port.post.mk> diff --git a/emulators/sim6811/files/patch-ac b/emulators/sim6811/files/patch-ac new file mode 100644 index 000000000000..53ec9652e011 --- /dev/null +++ b/emulators/sim6811/files/patch-ac @@ -0,0 +1,35 @@ +--- main.c.orig Tue Mar 22 14:16:59 1994 ++++ main.c Thu Oct 16 10:06:27 2003 +@@ -70,11 +70,8 @@ + #include <ctype.h> + #include "sim.h" + +-extern int printf(); +-extern int fprintf(); + extern int fclose(); + extern int fscanf(); +-extern int sscanf(); + extern int fflush(); + + /* how to handle all other op codes */ +@@ -323,19 +320,7 @@ + + case '?': /* help */ + (void) fgets(line, sizeof(line), stdin); +- printf( +- " +- +- (empty line) step once +-s [n] step n times +-b [add [n]] set break at add which will survive n hits +-g [add [n]] set pc to add, step n times +-l [add [n]] list n lines of disassembly starting from pc +-m add n set specified memory location to n +-R Reset memory, regs and reload code +-t [add [n]] set temporary break at add which will survive n hits +-q or EOF exit simulator +-? print this list\n\n"); ++ printf("\n\n (empty line) step once\ns [n] step n times\nb [add [n]] set break at add which will survive n hits\ng [add [n]] set pc to add, step n times\nl [add [n]] list n lines of disassembly starting from pc\nm add n set specified memory location to n\nR Reset memory, regs and reload code\nt [add [n]] set temporary break at add which will survive n hits\nq or EOF exit simulator\n? print this list\n\n"); + printf("hit return to continue"); + fflush(stdout); + fgets(line, sizeof(line), stdin); |