aboutsummaryrefslogtreecommitdiffstats
path: root/emulators
diff options
context:
space:
mode:
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-rw-r--r--emulators/doscmd/Makefile44
-rw-r--r--emulators/doscmd/distinfo2
-rw-r--r--emulators/doscmd/files/extra-patch-cwd.c16
-rw-r--r--emulators/doscmd/files/patch-config.c19
-rw-r--r--emulators/doscmd/files/patch-int13.c20
-rw-r--r--emulators/doscmd/files/patch-trap.c11
-rw-r--r--emulators/doscmd/pkg-descr2
-rw-r--r--emulators/doscmd/pkg-message4
-rw-r--r--emulators/doscmd/pkg-plist8
10 files changed, 0 insertions, 127 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index 3ccad1407391..4e0ce3aedcb6 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -27,7 +27,6 @@
SUBDIR += dgen-sdl
SUBDIR += dolphin-emu
SUBDIR += dosbox
- SUBDIR += doscmd
SUBDIR += dtcyber
SUBDIR += dynagen
SUBDIR += dynagui
diff --git a/emulators/doscmd/Makefile b/emulators/doscmd/Makefile
deleted file mode 100644
index 02aa8829499c..000000000000
--- a/emulators/doscmd/Makefile
+++ /dev/null
@@ -1,44 +0,0 @@
-# $FreeBSD$
-
-PORTNAME= doscmd
-PORTVERSION= 20110826
-CATEGORIES= emulators
-MASTER_SITES= SF/${PORTNAME}
-
-MAINTAINER= ports@FreeBSD.org
-COMMENT= DOS emulator
-
-BROKEN= does not build (accesses field of opaque structure)
-DEPRECATED= ${BROKEN}
-EXPIRATION_DATE= 2017-01-15
-
-ONLY_FOR_ARCHS= i386
-
-FONTFILES= cp437-8x8.pcf.gz cp437-8x14.pcf.gz cp437-8x16.pcf.gz
-PORTDOCS= PROBLEMS README*
-
-OPTIONS_DEFINE= X11
-OPTIONS_DEFAULT= X11
-OPTIONS_SUB= yes
-
-X11_USE= XORG=x11
-X11_MAKE_ARGS= X11BASE=${LOCALBASE}
-X11_MAKE_ARGS_OFF= -DNO_X
-
-.include <bsd.port.options.mk>
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/man/man1
- @${MKDIR} ${STAGEDIR}${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/emsdriv.sys ${WRKSRC}/redir.com \
- ${STAGEDIR}${DATADIR}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.if ${PORT_OPTIONS:MX11}
- @${MKDIR} ${STAGEDIR}${DATADIR}/fonts
- ${INSTALL_DATA} ${FONTFILES:S,^,${WRKSRC}/,} ${WRKSRC}/fonts.dir \
- ${STAGEDIR}${DATADIR}/fonts
-.endif
-
-.include <bsd.port.mk>
diff --git a/emulators/doscmd/distinfo b/emulators/doscmd/distinfo
deleted file mode 100644
index 0f558d5492de..000000000000
--- a/emulators/doscmd/distinfo
+++ /dev/null
@@ -1,2 +0,0 @@
-SHA256 (doscmd-20110826.tar.gz) = bc9187427b381bf0c8aa2e07362db36ebe3582a855a7f1e08bb159d9707feaba
-SIZE (doscmd-20110826.tar.gz) = 189004
diff --git a/emulators/doscmd/files/extra-patch-cwd.c b/emulators/doscmd/files/extra-patch-cwd.c
deleted file mode 100644
index e44c97eb4c79..000000000000
--- a/emulators/doscmd/files/extra-patch-cwd.c
+++ /dev/null
@@ -1,16 +0,0 @@
-This call changes internal descriptor in DIR structure so it's
-located at the top of file descriptor table. I guess it is needed
-to not interfere with other file descriptor order or to keep their
-values small. doscmd may work fine without it, but it should be
-tested.
---- cwd.c.orig 2011-08-26 16:48:21 UTC
-+++ cwd.c
-@@ -889,7 +889,7 @@ find_first(u_char *path, int attr, dosdi
- ++search->searchend;
- *search->searchend++ = '/';
-
-- search->dp->dd_fd = squirrel_fd(search->dp->dd_fd);
-+ //search->dp->dd_fd = squirrel_fd(search->dp->dd_fd);
-
- dta->drive = drive | 0x80;
- to_dos_fcb(dta->pattern, slash);
diff --git a/emulators/doscmd/files/patch-config.c b/emulators/doscmd/files/patch-config.c
deleted file mode 100644
index 5dc203212ef3..000000000000
--- a/emulators/doscmd/files/patch-config.c
+++ /dev/null
@@ -1,19 +0,0 @@
---- config.c.orig 2011-08-26 16:48:21 UTC
-+++ config.c
-@@ -213,14 +213,14 @@ init_hard:
- quit(1);
- }
- errno = 0;
-- addr = (int)strtol(av[3], '\0', 0);
-+ addr = (int)strtol(av[3], NULL, 0);
- /* XXX DEBUG ISA-specific */
- if ((errno != 0) || (addr > MAXPORT)) {
- fprintf(stderr, "usage: assign com[1-4] path addr irq\n");
- quit(1);
- }
- errno = 0;
-- irq = (unsigned char)strtol(av[4], '\0', 0);
-+ irq = (unsigned char)strtol(av[4], NULL, 0);
- /* XXX DEBUG ISA-specific */
- if ((errno != 0) || (irq < 2) || (irq > 7)) {
- fprintf(stderr, "usage: assign com[1-4] path addr irq[2-7]\n");
diff --git a/emulators/doscmd/files/patch-int13.c b/emulators/doscmd/files/patch-int13.c
deleted file mode 100644
index 8d613003debd..000000000000
--- a/emulators/doscmd/files/patch-int13.c
+++ /dev/null
@@ -1,20 +0,0 @@
---- int13.c.orig 2011-08-26 16:48:21 UTC
-+++ int13.c
-@@ -487,7 +487,7 @@ diread(struct diskinfo *di, regcontext_t
- off_t res;
-
- int drive = di - diskinfo;
-- di->multi = -1;
-+ di->multi = 3;
-
- if (drive > 1) {
- drive -= 2;
-@@ -536,7 +536,7 @@ diwrite(struct diskinfo *di, regcontext_
- {
- off_t res;
- int drive = di - diskinfo;
-- di->multi = -1;
-+ di->multi = 3;
-
- if (drive > 1) {
- drive -= 2;
diff --git a/emulators/doscmd/files/patch-trap.c b/emulators/doscmd/files/patch-trap.c
deleted file mode 100644
index 8db98e35cf1c..000000000000
--- a/emulators/doscmd/files/patch-trap.c
+++ /dev/null
@@ -1,11 +0,0 @@
---- trap.c.orig 2011-08-26 16:48:21 UTC
-+++ trap.c
-@@ -295,7 +295,7 @@ sigbus(struct sigframe *sf)
- callback_t func;
- regcontext_t *REGS = (regcontext_t *)(&sf->sf_uc.uc_mcontext);
-
-- if (!(R_EFLAGS && PSL_VM))
-+ if (!(R_EFLAGS & PSL_VM))
- fatal("SIGBUS in the emulator\n");
-
- if ((int)sf->sf_siginfo != 0) {
diff --git a/emulators/doscmd/pkg-descr b/emulators/doscmd/pkg-descr
deleted file mode 100644
index 1dbe5940d0af..000000000000
--- a/emulators/doscmd/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-The doscmd utility emulates a sufficiently large subset of the PC BIOS
-to boot older DOS versions and run DOS applications.
diff --git a/emulators/doscmd/pkg-message b/emulators/doscmd/pkg-message
deleted file mode 100644
index 23d9253c24b2..000000000000
--- a/emulators/doscmd/pkg-message
+++ /dev/null
@@ -1,4 +0,0 @@
-For security reasons, FreeBSD no longer allows mmap() at zero address.
-To remove this security protection and allow doscmd to work, you will need
-to set sysctl security.bsd.map_at_zero=1 either before running doscmd, or
-in /etc/sysctl.conf.
diff --git a/emulators/doscmd/pkg-plist b/emulators/doscmd/pkg-plist
deleted file mode 100644
index 05b21f38dd4f..000000000000
--- a/emulators/doscmd/pkg-plist
+++ /dev/null
@@ -1,8 +0,0 @@
-bin/doscmd
-man/man1/doscmd.1.gz
-share/doscmd/emsdriv.sys
-%%X11%%share/doscmd/fonts/cp437-8x14.pcf.gz
-%%X11%%share/doscmd/fonts/cp437-8x16.pcf.gz
-%%X11%%share/doscmd/fonts/cp437-8x8.pcf.gz
-%%X11%%share/doscmd/fonts/fonts.dir
-share/doscmd/redir.com