Sat Jan 12 16:40:49 2013 UTC ()
Tim Mann allegedly suggested disabling HAVE_SIGIO for hanging xtrs on
Linuxes 5 years ago. I see the same problem on NetbSD-6 (at least; didn't
try older) and the same cure works.


(is)
diff -r1.14 -r1.15 pkgsrc/emulators/xtrs/Makefile
diff -r1.3 -r1.4 pkgsrc/emulators/xtrs/distinfo
diff -r0 -r1.1 pkgsrc/emulators/xtrs/patches/patch-Makefile

cvs diff -r1.14 -r1.15 pkgsrc/emulators/xtrs/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/xtrs/Makefile 2012/10/03 12:55:22 1.14
+++ pkgsrc/emulators/xtrs/Makefile 2013/01/12 16:40:49 1.15
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.14 2012/10/03 12:55:22 asau Exp $ 1# $NetBSD: Makefile,v 1.15 2013/01/12 16:40:49 is Exp $
2# 2#
3 3
4DISTNAME= xtrs-4.9 4DISTNAME= xtrs-4.9
5PKGREVISION= 3 5PKGREVISION= 4
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= http://www.tim-mann.org/trs80/ 7MASTER_SITES= http://www.tim-mann.org/trs80/
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= ${MASTER_SITES} 10HOMEPAGE= ${MASTER_SITES}
11COMMENT= TRS-80 Model I/III/4 Emulator for Unix 11COMMENT= TRS-80 Model I/III/4 Emulator for Unix
12 12
13BUILD_TARGET= default 13BUILD_TARGET= default
14 14
15SUBST_CLASSES+= mf 15SUBST_CLASSES+= mf
16SUBST_STAGE.mf= post-patch 16SUBST_STAGE.mf= post-patch
17SUBST_FILES.mf= Makefile.local 17SUBST_FILES.mf= Makefile.local
18SUBST_SED.mf= -e 's|/usr/local|${PREFIX}|g' \ 18SUBST_SED.mf= -e 's|/usr/local|${PREFIX}|g' \

cvs diff -r1.3 -r1.4 pkgsrc/emulators/xtrs/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/xtrs/distinfo 2007/07/27 23:50:19 1.3
+++ pkgsrc/emulators/xtrs/distinfo 2013/01/12 16:40:49 1.4
@@ -1,8 +1,9 @@ @@ -1,8 +1,9 @@
1$NetBSD: distinfo,v 1.3 2007/07/27 23:50:19 joerg Exp $ 1$NetBSD: distinfo,v 1.4 2013/01/12 16:40:49 is Exp $
2 2
3SHA1 (xtrs-4.9.tar.gz) = abfbbdb972c7fa2b3545ed42698162a88168bded 3SHA1 (xtrs-4.9.tar.gz) = abfbbdb972c7fa2b3545ed42698162a88168bded
4RMD160 (xtrs-4.9.tar.gz) = 6daabf36a53e4af8b9d6b97d91cba00cc55b406f 4RMD160 (xtrs-4.9.tar.gz) = 6daabf36a53e4af8b9d6b97d91cba00cc55b406f
5Size (xtrs-4.9.tar.gz) = 422910 bytes 5Size (xtrs-4.9.tar.gz) = 422910 bytes
 6SHA1 (patch-Makefile) = 5c8f0cd142a1134fd99ad8946bf069ee9d0b53d7
6SHA1 (patch-aa) = f43c92142a240c45015fad93fd702df78e5a707c 7SHA1 (patch-aa) = f43c92142a240c45015fad93fd702df78e5a707c
7SHA1 (patch-ab) = 11aa129243aa5bb5c7b017241ebd444e9ac43ff2 8SHA1 (patch-ab) = 11aa129243aa5bb5c7b017241ebd444e9ac43ff2
8SHA1 (patch-ac) = f57cd85b5896bbdf1ae0346e1d703aa460ba8984 9SHA1 (patch-ac) = f57cd85b5896bbdf1ae0346e1d703aa460ba8984

File Added: pkgsrc/emulators/xtrs/patches/patch-Makefile
$NetBSD: patch-Makefile,v 1.1 2013/01/12 16:40:49 is Exp $

--- Makefile.orig	2002-05-11 21:35:23.000000000 +0000
+++ Makefile
@@ -145,7 +145,7 @@ z80code: $(Z80CODE)
 include Makefile.local
 
 CFLAGS = $(DEBUG) $(ENDIAN) $(DEFAULT_ROM) $(READLINE) $(DISKDIR) $(IFLAGS) \
-       $(APPDEFAULTS) -DKBWAIT -DHAVE_SIGIO
+       $(APPDEFAULTS) -DKBWAIT # -DHAVE_SIGIO
 LIBS = $(XLIB) $(READLINELIBS) $(EXTRALIBS)
 
 ZMACFLAGS = -h