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.60 pkgsrc-2011Q1-base:1.2 pkgsrc-2010Q4:1.2.0.58 pkgsrc-2010Q4-base:1.2 pkgsrc-2010Q3:1.2.0.56 pkgsrc-2010Q3-base:1.2 pkgsrc-2010Q2:1.2.0.54 pkgsrc-2010Q2-base:1.2 pkgsrc-2010Q1:1.2.0.52 pkgsrc-2010Q1-base:1.2 pkgsrc-2009Q4:1.2.0.50 pkgsrc-2009Q4-base:1.2 pkgsrc-2009Q3:1.2.0.48 pkgsrc-2009Q3-base:1.2 pkgsrc-2009Q2:1.2.0.46 pkgsrc-2009Q2-base:1.2 pkgsrc-2009Q1:1.2.0.44 pkgsrc-2009Q1-base:1.2 pkgsrc-2008Q4:1.2.0.42 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.40 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.38 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.36 pkgsrc-2008Q2-base:1.2 cwrapper:1.2.0.34 pkgsrc-2008Q1:1.2.0.32 pkgsrc-2008Q1-base:1.2 pkgsrc-2007Q4:1.2.0.30 pkgsrc-2007Q4-base:1.2 pkgsrc-2007Q3:1.2.0.28 pkgsrc-2007Q3-base:1.2 pkgsrc-2007Q2:1.2.0.26 pkgsrc-2007Q2-base:1.2 pkgsrc-2007Q1:1.2.0.24 pkgsrc-2007Q1-base:1.2 pkgsrc-2006Q4:1.2.0.22 pkgsrc-2006Q4-base:1.2 pkgsrc-2006Q3:1.2.0.20 pkgsrc-2006Q3-base:1.2 pkgsrc-2006Q2:1.2.0.18 pkgsrc-2006Q2-base:1.2 pkgsrc-2006Q1:1.2.0.16 pkgsrc-2006Q1-base:1.2 pkgsrc-2005Q4:1.2.0.14 pkgsrc-2005Q4-base:1.2 pkgsrc-2005Q3:1.2.0.12 pkgsrc-2005Q3-base:1.2 pkgsrc-2005Q2:1.2.0.10 pkgsrc-2005Q2-base:1.2 pkgsrc-2005Q1:1.2.0.8 pkgsrc-2005Q1-base:1.2 pkgsrc-2004Q4:1.2.0.6 pkgsrc-2004Q4-base:1.2 pkgsrc-2004Q3:1.2.0.4 pkgsrc-2004Q3-base:1.2 pkgsrc-2004Q2:1.2.0.2 pkgsrc-2004Q2-base:1.2 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 2004.05.29.23.32.19; author kristerw; state Exp; branches; next 1.1; 1.1 date 2001.02.26.14.49.35; author agc; 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-ag,v 1.2 2004/05/29 23:32:19 kristerw Exp $ --- cpu.c.orig Sat Feb 10 11:48:23 2001 +++ cpu.c Sun May 30 01:10:44 2004 @@@@ -743,7 +743,7 @@@@ { #define CPU_PRIORITY 15 /* CPU thread priority */ -#ifndef WIN32 +#if 0 /* Set CPU thread priority */ if (setpriority(PRIO_PROCESS, 0, CPU_PRIORITY)) logmsg ("HHC621I CPU thread set priority failed: %s\n", @ 1.2 log @Bl3ify, and use mk/pthread.buildlink3.mk instead of hard-coding a pthread package. Bump PKGREVISION. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add a patch to stop the Hercules emulator dumping core when exitting, from Wolfgang Solfrank (ws@@tools.de) @ text @d3 3 a5 7 Fix for coredump on exit on NetBSD from Wolfgang Solfrank --- cpu.c 2001/02/26 14:35:56 1.1 +++ cpu.c 2001/02/26 14:40:26 @@@@ -741,19 +741,22 @@@@ void *cpu_thread (REGS *regs) d7 1 a7 23 -#define CPU_PRIORITY 15 /* CPU thread priority */ #ifndef WIN32 - /* Set CPU thread priority */ - if (setpriority(PRIO_PROCESS, 0, CPU_PRIORITY)) - logmsg ("HHC621I CPU thread set priority failed: %s\n", - strerror(errno)); + struct sched_param sp; + int p; + + if (pthread_getschedparam(pthread_self(), &p, &sp) + || (sp.sched_priority = sched_get_priority_min(p), + pthread_setschedparam(pthread_self(), p, &sp))) + logmsg ("HHC621I CPU thread set priority failed: %s\n", + strerror(errno)); /* Display thread started message on control panel */ logmsg ("HHC620I CPU%4.4X thread started: tid=%8.8lX, pid=%d, " "priority=%d\n", regs->cpuad, thread_id(), getpid(), - getpriority(PRIO_PROCESS,0)); + sp.sched_priority); #endif d9 5 a13 1 logmsg ("HHC630I CPU%4.4X Architecture Mode %s\n",regs->cpuad, @