Thu May 18 19:30:09 2023 UTC ()
emulators/open-simh: update to 2023 05 11.

Initial version of new ND100 (Nord-100) emulator.
PDP11: numerous 11/70 compatibility fixes
Further the usual small fixes and cleanups.


(rhialto)
diff -r1.10 -r1.11 pkgsrc/emulators/open-simh/Makefile
diff -r1.3 -r1.4 pkgsrc/emulators/open-simh/PLIST
diff -r1.5 -r1.6 pkgsrc/emulators/open-simh/distinfo

cvs diff -r1.10 -r1.11 pkgsrc/emulators/open-simh/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/open-simh/Makefile 2023/05/06 19:09:14 1.10
+++ pkgsrc/emulators/open-simh/Makefile 2023/05/18 19:30:09 1.11
@@ -1,52 +1,53 @@ @@ -1,52 +1,53 @@
1# $NetBSD: Makefile,v 1.10 2023/05/06 19:09:14 ryoon Exp $ 1# $NetBSD: Makefile,v 1.11 2023/05/18 19:30:09 rhialto Exp $
2 2
3DISTNAME= open-simh-4.1.0 3DISTNAME= open-simh-4.1.0
4PKGNAME= open-simh-4.1.0.20230207 4PKGNAME= open-simh-4.1.0.20230511
5PKGREVISION= 2 
6CATEGORIES= emulators 5CATEGORIES= emulators
7MASTER_SITES= ${MASTER_SITE_GITHUB:=open-simh/} 6MASTER_SITES= ${MASTER_SITE_GITHUB:=open-simh/}
8GITHUB_PROJECT= simh 7GITHUB_PROJECT= simh
9GITHUB_TAG= 5e01c0516b14d16fa4e780dff13077bed76aa38a 8GITHUB_TAG= 793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8
10 9
11MAINTAINER= rhialto@NetBSD.org 10MAINTAINER= rhialto@NetBSD.org
12HOMEPAGE= http://simh.trailing-edge.com/ 11HOMEPAGE= http://simh.trailing-edge.com/
13COMMENT= Bob Supniks historical computer simulator 12COMMENT= Bob Supniks historical computer simulator
14LICENSE= mit 13LICENSE= mit
15 14
16DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf 15DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf
17 16
18USE_TOOLS+= gmake 17USE_TOOLS+= gmake
19 18
20BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9 19BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9
21 20
22.include "../../mk/bsd.prefs.mk" 21.include "../../mk/bsd.prefs.mk"
23 22
24.if ${OPSYS} == "Darwin" 23.if ${OPSYS} == "Darwin"
25# Doesn't seem to work with pkgsrc pcap, and dylib path is hardcoded. 24# Doesn't seem to work with pkgsrc pcap, and dylib path is hardcoded.
26PREFER.libpcap= native 25PREFER.libpcap= native
27# Link error with the native version: _zlibVersion 26# Link error with the native version: _zlibVersion
28PREFER.zlib= pkgsrc 27PREFER.zlib= pkgsrc
29.endif 28.endif
30 29
31# The makefile tries to autodetect the options below from "gcc --help", but 30# The makefile tries to autodetect the options below from "gcc --help", but
32# due to the compiler wrapper, it may not always output the expected text. 31# due to the compiler wrapper, it may not always output the expected text.
33# So we hardcode the options here. 32# So we hardcode the options here.
 33CFLAGS_O+= -fno-strict-overflow
 34CFLAGS_O+= -fno-unsafe-loop-optimizations
34CFLAGS_O+= -finline-functions 35CFLAGS_O+= -finline-functions
35CFLAGS_O+= -fgcse-after-reload 36CFLAGS_O+= -fgcse-after-reload
 37.if ${PKGSRC_COMPILER} == "gcc"
36CFLAGS_O+= -fpredictive-commoning 38CFLAGS_O+= -fpredictive-commoning
37CFLAGS_O+= -fipa-cp-clone 39CFLAGS_O+= -fipa-cp-clone
38CFLAGS_O+= -fno-unsafe-loop-optimizations 40.endif
39CFLAGS_O+= -fno-strict-overflow 
40 41
41.if (${MACHINE_ARCH} == "arm") 42.if (${MACHINE_ARCH} == "arm")
42BUILDLINK_TRANSFORM+= rm:-O2 43BUILDLINK_TRANSFORM+= rm:-O2
43.endif 44.endif
44 45
45# Needed for PDP11/pdp11_dc.c on gcc 4.1.3 46# Needed for PDP11/pdp11_dc.c on gcc 4.1.3
46.if (${MACHINE_ARCH} == "vax") 47.if (${MACHINE_ARCH} == "vax")
47CFLAGS+= -fforce-addr 48CFLAGS+= -fforce-addr
48.endif 49.endif
49 50
50CFLAGS.SunOS+= -DBSD_COMP 51CFLAGS.SunOS+= -DBSD_COMP
51LDFLAGS.SunOS+= -lm 52LDFLAGS.SunOS+= -lm
52 53

cvs diff -r1.3 -r1.4 pkgsrc/emulators/open-simh/PLIST (expand / switch to unified diff)

--- pkgsrc/emulators/open-simh/PLIST 2022/10/09 18:50:44 1.3
+++ pkgsrc/emulators/open-simh/PLIST 2023/05/18 19:30:09 1.4
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1@comment $NetBSD: PLIST,v 1.3 2022/10/09 18:50:44 rhialto Exp $ 1@comment $NetBSD: PLIST,v 1.4 2023/05/18 19:30:09 rhialto Exp $
2bin/simh-3b2 2bin/simh-3b2
3bin/simh-3b2-400 3bin/simh-3b2-400
4bin/simh-3b2-700 4bin/simh-3b2-700
5bin/simh-altair 5bin/simh-altair
6bin/simh-altairz80 6bin/simh-altairz80
7bin/simh-b5500 7bin/simh-b5500
8bin/simh-besm6 8bin/simh-besm6
9bin/simh-cdc1700 9bin/simh-cdc1700
10bin/simh-eclipse 10bin/simh-eclipse
11bin/simh-gri 11bin/simh-gri
12bin/simh-h316 12bin/simh-h316
13bin/simh-hp2100 13bin/simh-hp2100
14bin/simh-hp3000 14bin/simh-hp3000
@@ -28,26 +28,27 @@ bin/simh-id32 @@ -28,26 +28,27 @@ bin/simh-id32
28bin/simh-imlac 28bin/simh-imlac
29bin/simh-infoserver100 29bin/simh-infoserver100
30bin/simh-infoserver1000 30bin/simh-infoserver1000
31bin/simh-infoserver150vxt 31bin/simh-infoserver150vxt
32bin/simh-intel-mds 32bin/simh-intel-mds
33bin/simh-lgp 33bin/simh-lgp
34bin/simh-microvax1 34bin/simh-microvax1
35bin/simh-microvax2 35bin/simh-microvax2
36bin/simh-microvax2000 36bin/simh-microvax2000
37bin/simh-microvax3100 37bin/simh-microvax3100
38bin/simh-microvax3100e 38bin/simh-microvax3100e
39bin/simh-microvax3100m80 39bin/simh-microvax3100m80
40bin/simh-microvax3900 40bin/simh-microvax3900
 41bin/simh-nd100
41bin/simh-nova 42bin/simh-nova
42bin/simh-pdp1 43bin/simh-pdp1
43bin/simh-pdp10 44bin/simh-pdp10
44bin/simh-pdp10-ka 45bin/simh-pdp10-ka
45bin/simh-pdp10-ki 46bin/simh-pdp10-ki
46bin/simh-pdp10-kl 47bin/simh-pdp10-kl
47bin/simh-pdp10-ks 48bin/simh-pdp10-ks
48bin/simh-pdp11 49bin/simh-pdp11
49bin/simh-pdp15 50bin/simh-pdp15
50bin/simh-pdp4 51bin/simh-pdp4
51bin/simh-pdp6 52bin/simh-pdp6
52bin/simh-pdp7 53bin/simh-pdp7
53bin/simh-pdp8 54bin/simh-pdp8

cvs diff -r1.5 -r1.6 pkgsrc/emulators/open-simh/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/open-simh/distinfo 2023/02/08 20:59:50 1.5
+++ pkgsrc/emulators/open-simh/distinfo 2023/05/18 19:30:09 1.6
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.5 2023/02/08 20:59:50 rhialto Exp $ 1$NetBSD: distinfo,v 1.6 2023/05/18 19:30:09 rhialto Exp $
2 2
3BLAKE2s (open-simh-4.1.0-5e01c0516b14d16fa4e780dff13077bed76aa38a.tar.gz) = 610fc19c44ad7655c8c1874ca0ac8441b6256324cb93dff76d899cee5597afb6 3BLAKE2s (open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz) = 6fe046ace4cf269ab20ada7f9aaa321aad93a6455f1e9ca390b6c427f92ff79f
4SHA512 (open-simh-4.1.0-5e01c0516b14d16fa4e780dff13077bed76aa38a.tar.gz) = f67804c3ad73feb3300479fbeb4e3f4aa9acdbff4ca053ba64744022bac3259431e175fb9f596326bd10a9d024d21094aa2db24c327fe7ab5a2102d2bc8b83ca 4SHA512 (open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz) = a735fc8fa70645e61f945318401ea15ddeab390996d06a4cf0c74fb479dcde87a9e9c5ae0f9f30a9f041885df874f754ec12ecea7e2b6e4a018eda0c6ca8f06a
5Size (open-simh-4.1.0-5e01c0516b14d16fa4e780dff13077bed76aa38a.tar.gz) = 31230051 bytes 5Size (open-simh-4.1.0-793149d1bdf6fcdbf9ad54632285e3bd13b9e1c8.tar.gz) = 31601083 bytes
6SHA1 (patch-makefile) = 1958d111733c76b3cb1bff838278ec9cd5313dbf 6SHA1 (patch-makefile) = 1958d111733c76b3cb1bff838278ec9cd5313dbf