simh: update to 4.0.0.20180919 Update simh to a current git snapshot. The main motivation for the update is the fix to simh bug #478, which is needed for NetBSD to boot on an emulated VAX under anita. There have also been other changes too numerous to list here, including the following new emulations: 3b2, i701, i7010, i704, i7070, i7080, i7090, scelbi, sigma, uc15.diff -r1.49 -r1.50 pkgsrc/emulators/simh/Makefile
(gson)
@@ -1,22 +1,21 @@ | @@ -1,22 +1,21 @@ | |||
1 | # $NetBSD: Makefile,v 1.49 2018/02/09 17:35:05 gson Exp $ | 1 | # $NetBSD: Makefile,v 1.50 2018/09/24 14:12:28 gson Exp $ | |
2 | 2 | |||
3 | DISTNAME= simh-4.0.0 | 3 | DISTNAME= simh-4.0.0 | |
4 | PKGNAME= simh-4.0.0.20170406 | 4 | PKGNAME= simh-4.0.0.20180919 | |
5 | PKGREVISION= 2 | |||
6 | CATEGORIES= emulators | 5 | CATEGORIES= emulators | |
7 | MASTER_SITES= ${MASTER_SITE_GITHUB:=simh/} | 6 | MASTER_SITES= ${MASTER_SITE_GITHUB:=simh/} | |
8 | GITHUB_PROJECT= simh | 7 | GITHUB_PROJECT= simh | |
9 | GITHUB_TAG= 2ddb7162f3b7602afac290505c5d3352007cf26d | 8 | GITHUB_TAG= 0fe4bf3281a4d1f9fd10bba07cf0f7e40da92fc3 | |
10 | 9 | |||
11 | MAINTAINER= pkgsrc-users@NetBSD.org | 10 | MAINTAINER= pkgsrc-users@NetBSD.org | |
12 | HOMEPAGE= http://simh.trailing-edge.com/ | 11 | HOMEPAGE= http://simh.trailing-edge.com/ | |
13 | COMMENT= Bob Supniks historical computer simulator | 12 | COMMENT= Bob Supniks historical computer simulator | |
14 | 13 | |||
15 | DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf | 14 | DEPENDS+= dejavu-ttf-[0-9]*:../../fonts/dejavu-ttf | |
16 | 15 | |||
17 | USE_TOOLS+= gmake | 16 | USE_TOOLS+= gmake | |
18 | 17 | |||
19 | BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9 | 18 | BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9 | |
20 | 19 | |||
21 | .include "../../mk/bsd.prefs.mk" | 20 | .include "../../mk/bsd.prefs.mk" | |
22 | 21 |
@@ -1,75 +1,87 @@ | @@ -1,75 +1,87 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.17 2018/02/09 17:35:05 gson Exp $ | 1 | @comment $NetBSD: PLIST,v 1.18 2018/09/24 14:12:28 gson Exp $ | |
2 | bin/simh-3b2 | |||
2 | bin/simh-altair | 3 | bin/simh-altair | |
3 | bin/simh-altairz80 | 4 | bin/simh-altairz80 | |
4 | bin/simh-b5500 | 5 | bin/simh-b5500 | |
5 | bin/simh-besm6 | 6 | bin/simh-besm6 | |
6 | bin/simh-cdc1700 | 7 | bin/simh-cdc1700 | |
7 | bin/simh-eclipse | 8 | bin/simh-eclipse | |
8 | bin/simh-gri | 9 | bin/simh-gri | |
9 | bin/simh-h316 | 10 | bin/simh-h316 | |
10 | bin/simh-hp2100 | 11 | bin/simh-hp2100 | |
11 | bin/simh-hp3000 | 12 | bin/simh-hp3000 | |
12 | bin/simh-i1401 | 13 | bin/simh-i1401 | |
13 | bin/simh-i1620 | 14 | bin/simh-i1620 | |
15 | bin/simh-i701 | |||
16 | bin/simh-i7010 | |||
17 | bin/simh-i704 | |||
18 | bin/simh-i7070 | |||
19 | bin/simh-i7080 | |||
20 | bin/simh-i7090 | |||
14 | bin/simh-i7094 | 21 | bin/simh-i7094 | |
15 | bin/simh-ibm1130 | 22 | bin/simh-ibm1130 | |
16 | bin/simh-id16 | 23 | bin/simh-id16 | |
17 | bin/simh-id32 | 24 | bin/simh-id32 | |
18 | bin/simh-imds-225 | 25 | bin/simh-imds-225 | |
19 | bin/simh-isys8010 | 26 | bin/simh-isys8010 | |
20 | bin/simh-isys8020 | 27 | bin/simh-isys8020 | |
21 | bin/simh-isys8024 | 28 | bin/simh-isys8024 | |
22 | bin/simh-isys8030 | 29 | bin/simh-isys8030 | |
23 | bin/simh-lgp | 30 | bin/simh-lgp | |
24 | bin/simh-microvax1 | 31 | bin/simh-microvax1 | |
25 | bin/simh-microvax2 | 32 | bin/simh-microvax2 | |
26 | bin/simh-microvax3900 | 33 | bin/simh-microvax3900 | |
27 | bin/simh-nova | 34 | bin/simh-nova | |
28 | bin/simh-pdp1 | 35 | bin/simh-pdp1 | |
29 | bin/simh-pdp10 | 36 | bin/simh-pdp10 | |
30 | bin/simh-pdp11 | 37 | bin/simh-pdp11 | |
31 | bin/simh-pdp15 | 38 | bin/simh-pdp15 | |
32 | bin/simh-pdp4 | 39 | bin/simh-pdp4 | |
33 | bin/simh-pdp7 | 40 | bin/simh-pdp7 | |
34 | bin/simh-pdp8 | 41 | bin/simh-pdp8 | |
35 | bin/simh-pdp9 | 42 | bin/simh-pdp9 | |
36 | bin/simh-rtvax1000 | 43 | bin/simh-rtvax1000 | |
37 | bin/simh-s3 | 44 | bin/simh-s3 | |
45 | bin/simh-scelbi | |||
38 | bin/simh-sds | 46 | bin/simh-sds | |
47 | bin/simh-sigma | |||
39 | bin/simh-ssem | 48 | bin/simh-ssem | |
40 | bin/simh-swtp6800mp-a | 49 | bin/simh-swtp6800mp-a | |
41 | bin/simh-swtp6800mp-a2 | 50 | bin/simh-swtp6800mp-a2 | |
42 | bin/simh-tx-0 | 51 | bin/simh-tx-0 | |
52 | bin/simh-uc15 | |||
43 | bin/simh-vax | 53 | bin/simh-vax | |
44 | bin/simh-vax730 | 54 | bin/simh-vax730 | |
45 | bin/simh-vax750 | 55 | bin/simh-vax750 | |
46 | bin/simh-vax780 | 56 | bin/simh-vax780 | |
47 | bin/simh-vax8600 | 57 | bin/simh-vax8600 | |
48 | share/doc/simh/0ReadMe_Projects.txt | 58 | share/doc/simh/0ReadMe_Projects.txt | |
49 | share/doc/simh/0readmeAsynchIO.txt | 59 | share/doc/simh/0readmeAsynchIO.txt | |
50 | share/doc/simh/0readme_39.txt | 60 | share/doc/simh/0readme_39.txt | |
51 | share/doc/simh/0readme_ethernet.txt | 61 | share/doc/simh/0readme_ethernet.txt | |
62 | share/doc/simh/CDC1700-Customization.txt | |||
52 | share/doc/simh/CDC1700-Diagnostics.txt | 63 | share/doc/simh/CDC1700-Diagnostics.txt | |
53 | share/doc/simh/CDC1700-MSOS.txt | 64 | share/doc/simh/CDC1700-MSOS.txt | |
54 | share/doc/simh/CDC1700.txt | 65 | share/doc/simh/CDC1700.txt | |
55 | share/doc/simh/altair.txt | 66 | share/doc/simh/altair.txt | |
56 | share/doc/simh/eclipse.txt | 67 | share/doc/simh/eclipse.txt | |
57 | share/doc/simh/haltguide.txt | 68 | share/doc/simh/haltguide.txt | |
58 | share/doc/simh/hp2100_bugfixes.txt | 69 | share/doc/simh/hp2100_bugfixes.txt | |
59 | share/doc/simh/hp2100_diag.txt | 70 | share/doc/simh/hp2100_diag.txt | |
60 | share/doc/simh/hp2100_release.txt | 71 | share/doc/simh/hp2100_release.txt | |
61 | share/doc/simh/hp3000_diag.txt | 72 | share/doc/simh/hp3000_diag.txt | |
62 | share/doc/simh/hp3000_release.txt | 73 | share/doc/simh/hp3000_release.txt | |
74 | share/doc/simh/i1620_error_matrix.txt | |||
63 | share/doc/simh/i7094_bug_history.txt | 75 | share/doc/simh/i7094_bug_history.txt | |
64 | share/doc/simh/id_diag.txt | 76 | share/doc/simh/id_diag.txt | |
65 | share/doc/simh/input.txt | 77 | share/doc/simh/input.txt | |
66 | share/doc/simh/m68k_parse.y.txt | 78 | share/doc/simh/m68k_parse.y.txt | |
67 | share/doc/simh/pdp10_bug_history.txt | 79 | share/doc/simh/pdp10_bug_history.txt | |
68 | share/doc/simh/pdp18b_diag.txt | 80 | share/doc/simh/pdp18b_diag.txt | |
69 | share/doc/simh/pdp1_diag.txt | 81 | share/doc/simh/pdp1_diag.txt | |
70 | share/doc/simh/readme-sage.txt | 82 | share/doc/simh/readme-sage.txt | |
71 | share/doc/simh/readme1130.txt | 83 | share/doc/simh/readme1130.txt | |
72 | share/doc/simh/readme_s3.txt | 84 | share/doc/simh/readme_s3.txt | |
73 | share/doc/simh/readme_update.txt | 85 | share/doc/simh/readme_update.txt | |
74 | share/doc/simh/sds_diag.txt | 86 | share/doc/simh/sds_diag.txt | |
75 | share/doc/simh/sigma_bugs.txt | 87 | share/doc/simh/sigma_bugs.txt |
@@ -1,8 +1,8 @@ | @@ -1,8 +1,8 @@ | |||
1 | $NetBSD: distinfo,v 1.29 2017/12/31 08:50:00 tsutsui Exp $ | 1 | $NetBSD: distinfo,v 1.30 2018/09/24 14:12:28 gson Exp $ | |
2 | 2 | |||
3 | SHA1 (simh-4.0.0-2ddb7162f3b7602afac290505c5d3352007cf26d.tar.gz) = a6b17f1b16bd2a21d7ae797c0bd8282267b30c1a | 3 | SHA1 (simh-4.0.0-0fe4bf3281a4d1f9fd10bba07cf0f7e40da92fc3.tar.gz) = 58d77b58be3850d5f1cd9a7cdcb24d1e110bd71e | |
4 | RMD160 (simh-4.0.0-2ddb7162f3b7602afac290505c5d3352007cf26d.tar.gz) = 4f172b66a8efcd3b0870fa5d8e4a8dc76b9c7f87 | 4 | RMD160 (simh-4.0.0-0fe4bf3281a4d1f9fd10bba07cf0f7e40da92fc3.tar.gz) = 0b2ad6107006f89b0ca66ddc556c2f00df56937c | |
5 | SHA512 (simh-4.0.0-2ddb7162f3b7602afac290505c5d3352007cf26d.tar.gz) = 56656dcc57460aa3f4a42ed5fbc3f9bc8c567498f394450f631f26475dc20f2b1282569cabc053049a4d07d3d0aee3fd8bb41b67aab9bef9c722e28ffb971cdf | 5 | SHA512 (simh-4.0.0-0fe4bf3281a4d1f9fd10bba07cf0f7e40da92fc3.tar.gz) = 1c17430e74022cb5a9aebc784dc1a223fbbe323799ab528a9c788db8e3dbad01b7635da3c3dc158fcd28103c5fc462ce0fc3e9cdd90c298ff6ecdeb3dfd5f0a8 | |
6 | Size (simh-4.0.0-2ddb7162f3b7602afac290505c5d3352007cf26d.tar.gz) = 10046376 bytes | 6 | Size (simh-4.0.0-0fe4bf3281a4d1f9fd10bba07cf0f7e40da92fc3.tar.gz) = 12077046 bytes | |
7 | SHA1 (patch-makefile) = bdc247baec8751b4ac7d4ac03182c44e10a674a4 | 7 | SHA1 (patch-makefile) = ed0f4fdcb63d09e7f0374abafc3f8d03f0f86e91 | |
8 | SHA1 (patch-sim__ether.c) = 5a67f2cdde8917a32c7655853e5e79d4294d0790 | 8 | SHA1 (patch-sim__ether.c) = 5a67f2cdde8917a32c7655853e5e79d4294d0790 |
@@ -1,50 +1,41 @@ | @@ -1,50 +1,41 @@ | |||
1 | $NetBSD: patch-makefile,v 1.1 2017/12/31 08:50:00 tsutsui Exp $ | 1 | $NetBSD: patch-makefile,v 1.2 2018/09/24 14:12:28 gson Exp $ | |
2 | 2 | |||
3 | Exclude -flto for gcc 4.1.3 (used in NetBSD/vax 6) | 3 | Exclude -flto for gcc 4.1.3 (used in NetBSD/vax 6) | |
4 | Exclude -flto for gcc 4.4.7 (Used in DragonFly 2.13 - 3.1) | 4 | Exclude -flto for gcc 4.4.7 (Used in DragonFly 2.13 - 3.1) | |
5 | Make -O2 conditional so can be overridden by environment | 5 | Make -O2 conditional so can be overridden by environment | |
6 | Fix SDL2 detection | 6 | Fix SDL2 detection | |
7 | 7 | |||
8 | --- makefile.orig 2017-04-05 19:51:28.000000000 +0000 | 8 | --- makefile.orig 2018-09-20 05:36:48.000000000 +0000 | |
9 | +++ makefile | 9 | +++ makefile | |
10 | @@ -190,7 +190,7 @@ ifeq ($(WIN32),) #*nix Environments (&& | 10 | @@ -217,7 +217,7 @@ ifeq ($(WIN32),) #*nix Environments (&& | |
11 | endif | 11 | $(shell git log -1 --pretty="SIM_GIT_COMMIT_ID %H%nSIM_GIT_COMMIT_TIME $(isodate)" >.git-commit-id) | |
12 | endif | 12 | endif | |
13 | endif | 13 | endif | |
14 | - LTO_EXCLUDE_VERSIONS = | 14 | - LTO_EXCLUDE_VERSIONS = | |
15 | + LTO_EXCLUDE_VERSIONS = 4.1.3 4.4.7 4.8.3 4.8.4 4.8.5 5.3.0 5.4.0 | 15 | + LTO_EXCLUDE_VERSIONS = 4.1.3 4.4.7 4.8.3 4.8.4 4.8.5 5.3.0 5.4.0 | |
16 | PCAPLIB = pcap | 16 | PCAPLIB = pcap | |
17 | ifeq (agcc,$(findstring agcc,$(GCC))) # Android target build? | 17 | ifeq (agcc,$(findstring agcc,$(GCC))) # Android target build? | |
18 | OS_CCDEFS = -D_GNU_SOURCE | 18 | OS_CCDEFS = -D_GNU_SOURCE | |
19 | @@ -912,11 +912,11 @@ ifneq (,$(UNSUPPORTED_BUILD)) | 19 | @@ -1039,11 +1039,11 @@ ifneq (,$(UNSUPPORTED_BUILD)) | |
20 | endif | 20 | endif | |
21 | ifneq ($(DEBUG),) | 21 | ifneq ($(DEBUG),) | |
22 | CFLAGS_G = -g -ggdb -g3 | 22 | CFLAGS_G = -g -ggdb -g3 | |
23 | - CFLAGS_O = -O0 | 23 | - CFLAGS_O = -O0 | |
24 | + CFLAGS_O ?= -O0 | 24 | + CFLAGS_O ?= -O0 | |
25 | BUILD_FEATURES = - debugging support | 25 | BUILD_FEATURES = - debugging support | |
26 | else | 26 | else | |
27 | ifneq (clang,$(findstring clang,$(COMPILER_NAME))) | 27 | ifneq (,$(findstring clang,$(COMPILER_NAME))$(findstring LLVM,$(COMPILER_NAME))) | |
28 | - CFLAGS_O = -O2 | 28 | - CFLAGS_O = -O0 | |
29 | + CFLAGS_O ?= -O2 | 29 | + CFLAGS_O ?= -O0 | |
30 | ifeq (Darwin,$(OSTYPE)) | 30 | ifeq (Darwin,$(OSTYPE)) | |
31 | NO_LTO = 1 | 31 | NO_LTO = 1 | |
32 | endif | 32 | endif | |
33 | @@ -925,7 +925,7 @@ else | 33 | @@ -1052,7 +1052,7 @@ else | |
34 | ifeq (Darwin,$(OSTYPE)) | 34 | ifeq (Darwin,$(OSTYPE)) | |
35 | CFLAGS_O += -O4 -fno-strict-overflow -flto -fwhole-program | 35 | CFLAGS_O += -O4 -fno-strict-overflow -flto -fwhole-program | |
36 | else | 36 | else | |
37 | - CFLAGS_O := -O2 -fno-strict-overflow | 37 | - CFLAGS_O := -O2 -fno-strict-overflow | |
38 | + CFLAGS_O ?= -O2 -fno-strict-overflow | 38 | + CFLAGS_O ?= -O2 -fno-strict-overflow | |
39 | endif | 39 | endif | |
40 | endif | 40 | endif | |
41 | LDFLAGS_O = | 41 | LDFLAGS_O = | |
42 | @@ -1473,7 +1473,7 @@ ifneq (,$(BESM6_BUILD)) | |||
43 | $(info *** No SDL ttf support available. BESM-6 video panel disabled.) | |||
44 | $(info ***) | |||
45 | BESM6_OPT = -I ${BESM6D} -DUSE_INT64 | |||
46 | - else ifneq (,$(and $(findstring SDL2,${VIDEO_LDFLAGS}),$(call find_include,SDL2/SDL_ttf),$(call find_lib,SDL2_ttf))) | |||
47 | + else ifneq (,$(and $(findstring sdl2,${VIDEO_LDFLAGS}),$(call find_include,SDL2/SDL_ttf),$(call find_lib,SDL2_ttf))) | |||
48 | $(info using libSDL2_ttf: $(call find_lib,SDL2_ttf) $(call find_include,SDL2/SDL_ttf)) | |||
49 | $(info ***) | |||
50 | BESM6_OPT = -I ${BESM6D} -DFONTFILE=${FONTFILE} -DUSE_INT64 ${VIDEO_CCDEFS} ${VIDEO_LDFLAGS} -lSDL2_ttf |