and make this backwards compatible regarding interface names; found the

hard way by matthieu@.
This commit is contained in:
fgsch 2005-12-21 02:24:55 +00:00
parent 1eba0ca93b
commit 3e00bf7f72
2 changed files with 14 additions and 2 deletions

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.50 2005/12/21 01:32:28 fgsch Exp $
# $OpenBSD: Makefile,v 1.51 2005/12/21 02:24:55 fgsch Exp $
# $NetBSD: Makefile,v 1.2 1998/08/23 20:48:03 frueauf Exp $
COMMENT= "PDP, IBM 1401, Nova and other CPUs simulator"
DISTNAME= simh-3.5-1
PKGNAME= ${DISTNAME}p0
PKGNAME= ${DISTNAME}p1
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
DISTFILES= simhv35-1.zip

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-sim_ether_c,v 1.6 2005/12/21 02:24:56 fgsch Exp $
--- sim_ether.c.orig Wed Dec 21 02:13:18 2005
+++ sim_ether.c Wed Dec 21 02:13:57 2005
@@ -656,7 +656,7 @@ t_stat eth_open(ETH_DEV* dev, char* name
/* are they trying to use device description? */
savname = eth_getname_bydesc(name, temp);
if (savname == 0) /* didn't translate */
- return SCPE_OPENERR;
+ savname = name;
}
/* attempt to connect device */