FreeBSD Bugzilla – Attachment 77102 Details for
Bug 111061
[MAINTAINER] emulators/simh: load VAX firmware
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
simh-3.7_1.patch
simh-3.7_1.patch (text/plain), 1.50 KB, created by
trasz
on 2007-03-31 16:50:04 UTC
(
hide
)
Description:
simh-3.7_1.patch
Filename:
MIME Type:
Creator:
trasz
Created:
2007-03-31 16:50:04 UTC
Size:
1.50 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/ports/emulators/simh/Makefile /home/trasz/simh/Makefile >--- /usr/ports/emulators/simh/Makefile Wed Mar 28 08:17:18 2007 >+++ /home/trasz/simh/Makefile Sat Mar 31 17:48:57 2007 >@@ -7,6 +7,7 @@ > > PORTNAME= simh > PORTVERSION= 3.7 >+PORTREVISION= 1 > CATEGORIES= emulators > MASTER_SITES= http://simh.trailing-edge.com/sources/ > DISTNAME= ${PORTNAME}v37-0 >@@ -46,6 +47,9 @@ > > pre-patch: > @${MKDIR} ${WRKSRC}/BIN >+ >+post-patch: >+ ${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' ${WRKSRC}/VAX/vax_sysdev.c > > do-install: > .for file in ${BIN_FILES} >diff -ruN --exclude=CVS /usr/ports/emulators/simh/files/patch-VAX-vax_sysdev.c /home/trasz/simh/files/patch-VAX-vax_sysdev.c >--- /usr/ports/emulators/simh/files/patch-VAX-vax_sysdev.c Thu Jan 1 01:00:00 1970 >+++ /home/trasz/simh/files/patch-VAX-vax_sysdev.c Sat Mar 31 17:48:57 2007 >@@ -0,0 +1,19 @@ >+--- VAX/vax_sysdev.c.orig Sat Mar 24 09:13:42 2007 >++++ VAX/vax_sysdev.c Sat Mar 24 09:17:45 2007 >+@@ -1524,8 +1524,15 @@ >+ if (sim_log) fprintf (sim_log, >+ "Loading boot code from ka655x.bin\n"); >+ r = load_cmd (0, "-R ka655x.bin"); >+- if (r != SCPE_OK) return r; >++ if (r != SCPE_OK) { >++ printf ("Loading boot code from %%PREFIX%%/share/simh/ka655x.bin\n"); >++ if (sim_log) fprintf (sim_log, >++ "Loading boot code from %%PREFIX%%/share/simh/ka655x.bin\n"); >++ r = load_cmd (0, "-R %%PREFIX%%/share/simh/ka655x.bin"); >++ if (r != SCPE_OK) >++ return r; >+ } >++} >+ return SCPE_OK; >+ } >+
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 111061
: 77102