summaryrefslogtreecommitdiff
path: root/x11/xterm/patches/patch-ad
blob: 24ce0bd80c2e7b9b57ba327a90901e12eab95ac8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
$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 <sys/resource.h>
 #endif
+#ifdef HAVE_INITGROUPS
 #define HAS_BSD_GROUPS
+#endif
 #endif /* !VMS */
 #endif /* !linux */