summaryrefslogtreecommitdiff
path: root/x11/kdebase/patches/patch-ah
blob: 6e458c8006f9a138e9246068c27fc13bbf102a37 (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
26
27
28
29
30
31
$NetBSD: patch-ah,v 1.3 1999/11/12 04:50:00 hubertf Exp $

--- ./kdm/daemon.c	Wed Sep 30 23:19:53 1998
+++ /usr/pkgsrc/x11/kdebase/work.i386.unpatched/kdebase-1.1.2/kdm/daemon.c	Fri Nov 12 05:10:31 1999
@@ -38,6 +38,10 @@
 
 #include <X11/Xos.h>
 
+#ifdef __SVR4
+#define SVR4 __SVR4
+#endif
+
 /*
 #if defined(SVR4) || defined(USG)
 #include <termios.h>
@@ -135,14 +139,12 @@
     /*
      * Close standard file descriptors and get rid of controlling tty
      */
-
-/*
 #if defined(SYSV) || defined(SVR4)
     setpgrp ();
 #else
     setpgrp (0, getpid());
 #endif
-*/
+
     setpgid( 0, getpid()); /* This should be POSIX /stefh */
     close (0); 
     close (1);