summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorabs <abs>2012-07-16 00:14:33 +0000
committerabs <abs>2012-07-16 00:14:33 +0000
commitf2f2a12c40c313c7e670caae9c22154d2787dc61 (patch)
tree299223f915c613f9c187abe6cd31f63fd4f1f8c4 /emulators
parentdd0cd14c29531814c6a5bf79ce78c239d7362816 (diff)
downloadpkgsrc-f2f2a12c40c313c7e670caae9c22154d2787dc61.tar.gz
Relax granularity check to allow setting idle on a machine with HZ 100
Bump PKGREVISION
Diffstat (limited to 'emulators')
-rw-r--r--emulators/simh/Makefile4
-rw-r--r--emulators/simh/distinfo3
-rw-r--r--emulators/simh/patches/patch-sim__timer.h15
3 files changed, 19 insertions, 3 deletions
diff --git a/emulators/simh/Makefile b/emulators/simh/Makefile
index be579f81de1..777649bc1a6 100644
--- a/emulators/simh/Makefile
+++ b/emulators/simh/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.37 2012/06/16 14:58:35 abs Exp $
+# $NetBSD: Makefile,v 1.38 2012/07/16 00:14:33 abs Exp $
DISTNAME= simhv39-0
PKGNAME= simh-3.9.0
-PKGREVISION= 1
+PKGREVISION= 2
CATEGORIES= emulators
MASTER_SITES= http://simh.trailing-edge.com/sources/
EXTRACT_SUFX= .zip
diff --git a/emulators/simh/distinfo b/emulators/simh/distinfo
index 9cf4c6d48ed..af2fd150dd0 100644
--- a/emulators/simh/distinfo
+++ b/emulators/simh/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.19 2012/06/16 14:58:35 abs Exp $
+$NetBSD: distinfo,v 1.20 2012/07/16 00:14:33 abs Exp $
SHA1 (simhv39-0.zip) = 1de3938f0dcb51d55b0e53aea8ae9769ccc57bdb
RMD160 (simhv39-0.zip) = a464e7d1fc6d58dd23a3ef623c3c018d5d60b050
@@ -6,3 +6,4 @@ Size (simhv39-0.zip) = 3103657 bytes
SHA1 (patch-aa) = 198ec84295792523d52c8713aa144c4ece2f0fbd
SHA1 (patch-ab) = aa6f7fa5246b469ec7de28182922d2e6e18ce0de
SHA1 (patch-ac) = 9d12df82e971b057be33d4cf54b1539597ae94f3
+SHA1 (patch-sim__timer.h) = 1ee43b9a6586cdeb0f4dd22321957de8d30d3376
diff --git a/emulators/simh/patches/patch-sim__timer.h b/emulators/simh/patches/patch-sim__timer.h
new file mode 100644
index 00000000000..53112b39e15
--- /dev/null
+++ b/emulators/simh/patches/patch-sim__timer.h
@@ -0,0 +1,15 @@
+$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 */