Mon Jul 16 00:14:33 2012 UTC ()
Relax granularity check to allow setting idle on a machine with HZ 100
Bump PKGREVISION


(abs)
diff -r1.37 -r1.38 pkgsrc/emulators/simh/Makefile
diff -r1.19 -r1.20 pkgsrc/emulators/simh/distinfo
diff -r0 -r1.1 pkgsrc/emulators/simh/patches/patch-sim__timer.h

cvs diff -r1.37 -r1.38 pkgsrc/emulators/simh/Makefile (expand / switch to unified diff)

--- pkgsrc/emulators/simh/Makefile 2012/06/16 14:58:35 1.37
+++ pkgsrc/emulators/simh/Makefile 2012/07/16 00:14:33 1.38
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1# $NetBSD: Makefile,v 1.37 2012/06/16 14:58:35 abs Exp $ 1# $NetBSD: Makefile,v 1.38 2012/07/16 00:14:33 abs Exp $
2 2
3DISTNAME= simhv39-0 3DISTNAME= simhv39-0
4PKGNAME= simh-3.9.0 4PKGNAME= simh-3.9.0
5PKGREVISION= 1 5PKGREVISION= 2
6CATEGORIES= emulators 6CATEGORIES= emulators
7MASTER_SITES= http://simh.trailing-edge.com/sources/ 7MASTER_SITES= http://simh.trailing-edge.com/sources/
8EXTRACT_SUFX= .zip 8EXTRACT_SUFX= .zip
9 9
10MAINTAINER= pkgsrc-users@NetBSD.org 10MAINTAINER= pkgsrc-users@NetBSD.org
11HOMEPAGE= http://simh.trailing-edge.com/ 11HOMEPAGE= http://simh.trailing-edge.com/
12COMMENT= Bob Supniks historical computer simulator 12COMMENT= Bob Supniks historical computer simulator
13 13
14PKG_DESTDIR_SUPPORT= user-destdir 14PKG_DESTDIR_SUPPORT= user-destdir
15 15
16USE_TOOLS+= gmake 16USE_TOOLS+= gmake
17 17
18BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9 18BUILDLINK_API_DEPENDS.libpcap+= libpcap>=0.9

cvs diff -r1.19 -r1.20 pkgsrc/emulators/simh/distinfo (expand / switch to unified diff)

--- pkgsrc/emulators/simh/distinfo 2012/06/16 14:58:35 1.19
+++ pkgsrc/emulators/simh/distinfo 2012/07/16 00:14:33 1.20
@@ -1,8 +1,9 @@ @@ -1,8 +1,9 @@
1$NetBSD: distinfo,v 1.19 2012/06/16 14:58:35 abs Exp $ 1$NetBSD: distinfo,v 1.20 2012/07/16 00:14:33 abs Exp $
2 2
3SHA1 (simhv39-0.zip) = 1de3938f0dcb51d55b0e53aea8ae9769ccc57bdb 3SHA1 (simhv39-0.zip) = 1de3938f0dcb51d55b0e53aea8ae9769ccc57bdb
4RMD160 (simhv39-0.zip) = a464e7d1fc6d58dd23a3ef623c3c018d5d60b050 4RMD160 (simhv39-0.zip) = a464e7d1fc6d58dd23a3ef623c3c018d5d60b050
5Size (simhv39-0.zip) = 3103657 bytes 5Size (simhv39-0.zip) = 3103657 bytes
6SHA1 (patch-aa) = 198ec84295792523d52c8713aa144c4ece2f0fbd 6SHA1 (patch-aa) = 198ec84295792523d52c8713aa144c4ece2f0fbd
7SHA1 (patch-ab) = aa6f7fa5246b469ec7de28182922d2e6e18ce0de 7SHA1 (patch-ab) = aa6f7fa5246b469ec7de28182922d2e6e18ce0de
8SHA1 (patch-ac) = 9d12df82e971b057be33d4cf54b1539597ae94f3 8SHA1 (patch-ac) = 9d12df82e971b057be33d4cf54b1539597ae94f3
 9SHA1 (patch-sim__timer.h) = 1ee43b9a6586cdeb0f4dd22321957de8d30d3376

File Added: pkgsrc/emulators/simh/patches/Attic/patch-sim__timer.h
$NetBSD: patch-sim__timer.h,v 1.1 2012/07/16 00:14:33 abs Exp $

Relax granularity check to allow setting idle on a machine with HZ 100

--- sim_timer.h.orig	2008-11-21 20:06:34.000000000 +0000
+++ sim_timer.h
@@ -35,7 +35,7 @@
 #define SIM_TMAX        500                             /* max timer makeup */
 
 #define SIM_IDLE_CAL    10                              /* ms to calibrate */
-#define SIM_IDLE_MAX    10                              /* max granularity idle */
+#define SIM_IDLE_MAX    20                              /* max granularity idle */
 #define SIM_IDLE_STMIN  10                              /* min sec for stability */
 #define SIM_IDLE_STDFLT 20                              /* dft sec for stability */
 #define SIM_IDLE_STMAX  600                             /* max sec for stability */