FreeBSD Bugzilla – Attachment 223823 Details for
Bug 254553
[NEW PORT] emulators/dps8m: simh based simulator for the Honeywell h6180/dps8m Multics processor
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch for dps8m (WIP)
dps8m-newport.patch (text/plain), 4.13 KB, created by
Daniel Engberg
on 2021-04-05 10:48:08 UTC
(
hide
)
Description:
Patch for dps8m (WIP)
Filename:
MIME Type:
Creator:
Daniel Engberg
Created:
2021-04-05 10:48:08 UTC
Size:
4.13 KB
patch
obsolete
>diff --git a/emulators/dps8m/Makefile b/emulators/dps8m/Makefile >new file mode 100644 >index 000000000000..3d1663a291a2 >--- /dev/null >+++ b/emulators/dps8m/Makefile >@@ -0,0 +1,27 @@ >+# Created by: Gian-Simon Purkert <gspurki@gmail.com> >+# $FreeBSD: $ >+ >+PORTNAME= dps8m >+DISTVERSION= 2.0 >+CATEGORIES= emulators >+ >+MAINTAINER= gspurki@gmail.com >+COMMENT= SIMH based simulator for the Honeywell h6180/dps8m Multics processor >+ >+LICENSE= ICU181+ >+LICENSE_NAME= ICU License - ICU 1.8.1 and later >+LICENSE_FILE= ${WRKSRC}/LICENSE >+LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept >+ >+LIB_DEPENDS= libuv.so:devel/libuv >+ >+USES= gmake >+ >+USE_GITLAB= yes >+GL_COMMIT= 2a56f38d5658458da870acee6d04e45c70b79ea5 >+ >+WRKSRC= ${WRKDIR}/${PORTNAME}-R${DISTVERSION}-${GL_COMMIT} >+ >+PLIST_FILES= bin/dps8 >+ >+.include <bsd.port.mk> >diff --git a/emulators/dps8m/distinfo b/emulators/dps8m/distinfo >new file mode 100644 >index 000000000000..ed8b973ceaae >--- /dev/null >+++ b/emulators/dps8m/distinfo >@@ -0,0 +1,3 @@ >+TIMESTAMP = 1617618995 >+SHA256 (dps8m-dps8m-2a56f38d5658458da870acee6d04e45c70b79ea5_GL0.tar.gz) = c83fa01370f033d12f09c1bc37c55f211d455e4fb006da7b4967c451b1552814 >+SIZE (dps8m-dps8m-2a56f38d5658458da870acee6d04e45c70b79ea5_GL0.tar.gz) = 2332665 >diff --git a/emulators/dps8m/files/patch-src_Makefile.mk b/emulators/dps8m/files/patch-src_Makefile.mk >new file mode 100644 >index 000000000000..9bc7551690d7 >--- /dev/null >+++ b/emulators/dps8m/files/patch-src_Makefile.mk >@@ -0,0 +1,39 @@ >+--- src/Makefile.mk.orig 2019-08-22 15:43:04 UTC >++++ src/Makefile.mk >+@@ -15,31 +15,10 @@ ifneq ($(OS),Windows_NT) >+ endif >+ endif >+ >+-ifeq ($(OS), OSX) >+- msys_version = 0 >+-else >+- msys_version := $(if $(findstring Msys, $(shell uname -o)),$(word 1, $(subst ., ,$(shell uname -r))),0) >+-endif >+- >+-ifeq ($(msys_version),0) >+-else >+- CROSS=MINGW64 >+-endif >+-ifeq ($(CROSS),MINGW64) >+- CC = x86_64-w64-mingw32-gcc >+- LD = x86_64-w64-mingw32-gcc >+-ifeq ($(msys_version),0) >+- AR = x86_64-w64-mingw32-ar >+-else >+- AR = ar >+-endif >+- EXE = .exe >+-else >+ #CC = gcc >+ #LD = gcc >+ CC = clang >+ LD = clang >+-endif >+ >+ # for Linux (Ubuntu 12.10 64-bit) or Apple OS/X 10.8 >+ #CFLAGS += -g -O0 >+@@ -107,4 +86,3 @@ $(warning #### Using ../Makefile.local) >+ $(warning ####) >+ include ../Makefile.local >+ endif >+- >diff --git a/emulators/dps8m/files/patch-src_dps8_Makefile b/emulators/dps8m/files/patch-src_dps8_Makefile >new file mode 100644 >index 000000000000..dcd1571553e1 >--- /dev/null >+++ b/emulators/dps8m/files/patch-src_dps8_Makefile >@@ -0,0 +1,21 @@ >+--- src/dps8/Makefile.orig 2019-08-22 15:43:04 UTC >++++ src/dps8/Makefile >+@@ -20,7 +20,9 @@ all : >+ >+ SIMHx = ../simh-master >+ >+-INSTALL_ROOT ?= /usr/local/ >++DESTDIR ?= >++PREFIX ?= /usr/local >++INSTALL_ROOT ?= $(DESTDIR)$(PREFIX) >+ INSTALL_BIN ?= $(INSTALL_ROOT)/bin >+ >+ >+@@ -270,6 +272,7 @@ all: utils $(TAGS) locallibs_then_dps8 >+ # $(CC) remote.c -o remote fnp_udplib.o >+ >+ install: all >++ install -d $(INSTALL_BIN) >+ cp dps8$(EXE) $(INSTALL_BIN)/dps8$(EXE) >+ >+ cscope: >diff --git a/emulators/dps8m/files/patch-src_utils_prt2pdf.c b/emulators/dps8m/files/patch-src_utils_prt2pdf.c >new file mode 100644 >index 000000000000..05075bf43790 >--- /dev/null >+++ b/emulators/dps8m/files/patch-src_utils_prt2pdf.c >@@ -0,0 +1,11 @@ >+--- src/utils/prt2pdf.c.orig 2019-08-22 15:43:04 UTC >++++ src/utils/prt2pdf.c >+@@ -83,7 +83,7 @@ o added command line options for >+ #include <stdlib.h> >+ #include <ctype.h> >+ #include <unistd.h> >+-char *gets(char *s); >++//char *gets(char *s); >+ >+ /* ============================================================================================================================== */ >+ #define MAX(x, y) ((x) > (y) ? (x) : (y)) >diff --git a/emulators/dps8m/pkg-descr b/emulators/dps8m/pkg-descr >new file mode 100644 >index 000000000000..b2b256b2afab >--- /dev/null >+++ b/emulators/dps8m/pkg-descr >@@ -0,0 +1,9 @@ >+SIMH based simulator for the Honeywell h6180/dps8m Multics processor. >+Capable of booting Multics MR12.5 and Multics MR12.6f. >+ >+The fastest way to your running Multics-system is the >+Quickstart Image, downloadable from: >+ >+https://multics-wiki.swenson.org/index.php/Main_Page >+ >+WWW: http://ringzero.wikidot.com
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 254553
:
223575
|
223823
|
229270
|
229966