head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.8 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.6 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.4 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.2 pkgsrc-2011Q2-base:1.3 pkgsrc-2011Q1:1.2.0.10 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.8 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.6 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.4 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.2 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.1.0.62 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.60 pkgsrc-2009Q3-base:1.1 pkgsrc-2009Q2:1.1.0.58 pkgsrc-2009Q2-base:1.1 pkgsrc-2009Q1:1.1.0.56 pkgsrc-2009Q1-base:1.1 pkgsrc-2008Q4:1.1.0.54 pkgsrc-2008Q4-base:1.1 pkgsrc-2008Q3:1.1.0.52 pkgsrc-2008Q3-base:1.1 cube-native-xorg:1.1.0.50 cube-native-xorg-base:1.1 pkgsrc-2008Q2:1.1.0.48 pkgsrc-2008Q2-base:1.1 cwrapper:1.1.0.46 pkgsrc-2008Q1:1.1.0.44 pkgsrc-2008Q1-base:1.1 pkgsrc-2007Q4:1.1.0.42 pkgsrc-2007Q4-base:1.1 pkgsrc-2007Q3:1.1.0.40 pkgsrc-2007Q3-base:1.1 pkgsrc-2007Q2:1.1.0.38 pkgsrc-2007Q2-base:1.1 pkgsrc-2007Q1:1.1.0.36 pkgsrc-2007Q1-base:1.1 pkgsrc-2006Q4:1.1.0.34 pkgsrc-2006Q4-base:1.1 pkgsrc-2006Q3:1.1.0.32 pkgsrc-2006Q3-base:1.1 pkgsrc-2006Q2:1.1.0.30 pkgsrc-2006Q2-base:1.1 pkgsrc-2006Q1:1.1.0.28 pkgsrc-2006Q1-base:1.1 pkgsrc-2005Q4:1.1.0.26 pkgsrc-2005Q4-base:1.1 pkgsrc-2005Q3:1.1.0.24 pkgsrc-2005Q3-base:1.1 pkgsrc-2005Q2:1.1.0.22 pkgsrc-2005Q2-base:1.1 pkgsrc-2005Q1:1.1.0.20 pkgsrc-2005Q1-base:1.1 pkgsrc-2004Q4:1.1.0.18 pkgsrc-2004Q4-base:1.1 pkgsrc-2004Q3:1.1.0.16 pkgsrc-2004Q3-base:1.1 pkgsrc-2004Q2:1.1.0.14 pkgsrc-2004Q2-base:1.1 pkgsrc-2004Q1:1.1.0.12 pkgsrc-2004Q1-base:1.1 pkgsrc-2003Q4:1.1.0.10 pkgsrc-2003Q4-base:1.1 netbsd-1-6-1:1.1.0.6 netbsd-1-6-1-base:1.1 netbsd-1-6:1.1.0.8 netbsd-1-6-RELEASE-base:1.1 pkgviews:1.1.0.4 pkgviews-base:1.1 buildlink2:1.1.0.2 buildlink2-base:1.1 netbsd-1-5-PATCH003:1.1 netbsd-1-5-PATCH001:1.1; locks; strict; comment @# @; 1.3 date 2011.05.01.23.28.58; author ryoon; state dead; branches; next 1.2; 1.2 date 2010.01.17.08.00.47; author dholland; state Exp; branches; next 1.1; 1.1 date 2001.03.23.16.20.56; author agc; state Exp; branches 1.1.62.1; next ; 1.1.62.1 date 2010.01.21.11.59.30; author tron; state Exp; branches; next ; desc @@ 1.3 log @Update to 3.07 Fix PR pkg/44894 Changelog is to long. See CHANGES file in tar ball. @ text @$NetBSD: patch-aj,v 1.2 2010/01/17 08:00:47 dholland Exp $ Patch from Wofgang Solfrank: "Change the timeout value from 1 usec to 10 msec in the timer thread. At least with unproven-pthreads, the comment above that is wrong when stating that a 1 usec timeout would be stretched to the next system clock tick." Also, patch out no-longer-supported gcc language extensions. --- timer.c.orig 2001-02-08 20:02:41.000000000 +0000 +++ timer.c @@@@ -190,7 +190,7 @@@@ struct timeval tv; /* Decrement the CPU timer if the CPU is running */ if(regs->cpustate == CPUSTATE_STARTED && (S64)diff > 0) - (S64)regs->ptimer -= (S64)diff; + regs->ptimer = (S64)regs->ptimer - (S64)diff; /* Set interrupt flag if the CPU timer is negative */ if ((S64)regs->ptimer < 0) @@@@ -207,7 +207,7 @@@@ struct timeval tv; { /* Decrement the CPU timer if the CPU is running */ if( (S64)diff > 0) - (S64)regs->guestregs->ptimer -= (S64)diff; + regs->guestregs->ptimer = (S64)regs->guestregs->ptimer - (S64)diff; /* Set interrupt flag if the CPU timer is negative */ if ((S64)regs->guestregs->ptimer < 0) @@@@ -319,7 +319,7 @@@@ struct timeval tv; /* Calculate instructions/millisecond for this CPU */ regs->mipsrate = (regs->instcount - regs->prevcount) / msecctr; - regs->siosrate = regs->siocount; + regs->siosrate = regs->siocount * 1000 / msecctr; /* Save the instruction counter */ regs->prevcount = regs->instcount; @@@@ -336,7 +336,7 @@@@ struct timeval tv; /* Sleep for one system clock tick by specifying a one-microsecond delay, which will get stretched out to the next clock tick */ tv.tv_sec = 0; - tv.tv_usec = 1; + tv.tv_usec = 10000; select (0, NULL, NULL, NULL, &tv); } /* end while */ @ 1.2 log @Patch out no-longer-supported gcc language extensions, mostly lvalue casts and lvalue ternary operators. Also make static/non-static decls consistent. Fixes broken build. While here, add DESTDIR support. @ text @d1 1 a1 1 $NetBSD: patch-aj,v 1.1 2001/03/23 16:20:56 agc Exp $ @ 1.1 log @Patches from Wofgang Solfrank: "Disabling the O_SYNC option when opening printer or punch. Change the timeout value from 1 usec to 10 msec in the timer thread. At least with unproven-pthreads, the comment above that is wrong when stating that a 1 usec timeout would be stretched to the next system clock tick. A minor correction to the computation of the SIO rate. With these changes, I get a decent performance of the system and can actually get MVS to run." Require the fixed version of unproven-pthreads. Bump the hercules version number. @ text @d1 1 a1 1 $NetBSD$ d10 23 a32 3 --- timer.c.orig Thu Feb 8 20:02:41 2001 +++ timer.c Fri Mar 23 16:01:53 2001 @@@@ -319,7 +319,7 @@@@ d41 1 a41 1 @@@@ -336,7 +336,7 @@@@ @ 1.1.62.1 log @Pullup ticket #2963 - requested by dholland hercules: build fix Revisions pulled up: - emulators/hercules/Makefile 1.23-1.24 - emulators/hercules/distinfo 1.10 - emulators/hercules/patches/patch-aa 1.8 - emulators/hercules/patches/patch-aj 1.2 - emulators/hercules/patches/patch-an 1.2 - emulators/hercules/patches/patch-ap 1.1 - emulators/hercules/patches/patch-aq 1.1 - emulators/hercules/patches/patch-ar 1.1 - emulators/hercules/patches/patch-as 1.1 - emulators/hercules/patches/patch-at 1.1 - emulators/hercules/patches/patch-au 1.1 - emulators/hercules/patches/patch-av 1.1 - emulators/hercules/patches/patch-aw 1.1 --- Module Name: pkgsrc Committed By: dholland Date: Sun Jan 17 08:00:47 UTC 2010 Modified Files: pkgsrc/emulators/hercules: Makefile distinfo pkgsrc/emulators/hercules/patches: patch-aa patch-aj patch-an Added Files: pkgsrc/emulators/hercules/patches: patch-ap patch-aq patch-ar patch-as patch-at patch-au patch-av patch-aw Log Message: Patch out no-longer-supported gcc language extensions, mostly lvalue casts and lvalue ternary operators. Also make static/non-static decls consistent. Fixes broken build. While here, add DESTDIR support. --- Module Name: pkgsrc Committed By: dholland Date: Sun Jan 17 08:02:49 UTC 2010 Modified Files: pkgsrc/emulators/hercules: Makefile Log Message: Update HOMEPAGE and MASTER_SITES. @ text @d10 3 a12 23 Also, patch out no-longer-supported gcc language extensions. --- timer.c.orig 2001-02-08 20:02:41.000000000 +0000 +++ timer.c @@@@ -190,7 +190,7 @@@@ struct timeval tv; /* Decrement the CPU timer if the CPU is running */ if(regs->cpustate == CPUSTATE_STARTED && (S64)diff > 0) - (S64)regs->ptimer -= (S64)diff; + regs->ptimer = (S64)regs->ptimer - (S64)diff; /* Set interrupt flag if the CPU timer is negative */ if ((S64)regs->ptimer < 0) @@@@ -207,7 +207,7 @@@@ struct timeval tv; { /* Decrement the CPU timer if the CPU is running */ if( (S64)diff > 0) - (S64)regs->guestregs->ptimer -= (S64)diff; + regs->guestregs->ptimer = (S64)regs->guestregs->ptimer - (S64)diff; /* Set interrupt flag if the CPU timer is negative */ if ((S64)regs->guestregs->ptimer < 0) @@@@ -319,7 +319,7 @@@@ struct timeval tv; d21 1 a21 1 @@@@ -336,7 +336,7 @@@@ struct timeval tv; @