head 1.3; access; symbols pkgsrc-2013Q2:1.3.0.44 pkgsrc-2013Q2-base:1.3 pkgsrc-2012Q4:1.3.0.42 pkgsrc-2012Q4-base:1.3 pkgsrc-2011Q4:1.3.0.40 pkgsrc-2011Q4-base:1.3 pkgsrc-2011Q2:1.3.0.38 pkgsrc-2011Q2-base:1.3 pkgsrc-2009Q4:1.3.0.36 pkgsrc-2009Q4-base:1.3 pkgsrc-2008Q4:1.3.0.34 pkgsrc-2008Q4-base:1.3 pkgsrc-2008Q3:1.3.0.32 pkgsrc-2008Q3-base:1.3 cube-native-xorg:1.3.0.30 cube-native-xorg-base:1.3 pkgsrc-2008Q2:1.3.0.28 pkgsrc-2008Q2-base:1.3 pkgsrc-2008Q1:1.3.0.26 pkgsrc-2008Q1-base:1.3 pkgsrc-2007Q4:1.3.0.24 pkgsrc-2007Q4-base:1.3 pkgsrc-2007Q3:1.3.0.22 pkgsrc-2007Q3-base:1.3 pkgsrc-2007Q2:1.3.0.20 pkgsrc-2007Q2-base:1.3 pkgsrc-2007Q1:1.3.0.18 pkgsrc-2007Q1-base:1.3 pkgsrc-2006Q4:1.3.0.16 pkgsrc-2006Q4-base:1.3 pkgsrc-2006Q3:1.3.0.14 pkgsrc-2006Q3-base:1.3 pkgsrc-2006Q2:1.3.0.12 pkgsrc-2006Q2-base:1.3 pkgsrc-2006Q1:1.3.0.10 pkgsrc-2006Q1-base:1.3 pkgsrc-2005Q4:1.3.0.8 pkgsrc-2005Q4-base:1.3 pkgsrc-2005Q3:1.3.0.6 pkgsrc-2005Q3-base:1.3 pkgsrc-2005Q2:1.3.0.4 pkgsrc-2005Q2-base:1.3 pkgsrc-2005Q1:1.3.0.2 pkgsrc-2005Q1-base:1.3 pkgsrc-2004Q4:1.2.0.2 pkgsrc-2004Q4-base:1.2; locks; strict; comment @# @; 1.3 date 2004.12.21.17.24.48; author minskim; state dead; branches; next 1.2; 1.2 date 2004.10.21.07.39.43; author minskim; state Exp; branches; next 1.1; 1.1 date 2004.10.16.21.47.37; author minskim; state Exp; branches; next ; desc @@ 1.3 log @Update xterm to 197. Mainly bug fixes. See http://dickey.his.com/xterm/xterm.log.html for the complete changelog. @ text @$NetBSD: patch-ad,v 1.2 2004/10/21 07:39:43 minskim Exp $ --- main.c.orig Sun Aug 15 16:07:59 2004 +++ main.c @@@@ -283,6 +283,10 @@@@ ttyslot() #else +#ifndef HAVE_SETPGRP +#define setpgrp setpgid +#endif + #ifndef linux #ifndef VMS #ifndef USE_POSIX_TERMIOS @@@@ -295,7 +299,9 @@@@ ttyslot() #else #include #endif +#ifdef HAVE_INITGROUPS #define HAS_BSD_GROUPS +#endif #endif /* !VMS */ #endif /* !linux */ @ 1.2 log @Use initgroups(3) only when it is available. @ text @d1 1 a1 1 $NetBSD$ @ 1.1 log @Add patch missed in the previous commit, which replaces setpgrp with setpgid when setpgrp is not available. @ text @d16 10 @