summaryrefslogtreecommitdiff
path: root/x11/kdebase/patches/patch-am
blob: a32016f791c5329b46e77fe7284d2de01b145b72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-am,v 1.5 1999/12/12 19:06:37 jdolecek Exp $

This patch is no longer needed in KDE2		jdolecek 1999/12/12
--- ./kdm/session.c	Fri Aug 20 20:35:10 1999
+++ /usr/pkgsrc/x11/kdebase/work.i386.unpatched/kdebase-1.1.2/kdm/session.c	Fri Nov 12 05:10:30 1999
@@ -50,6 +50,7 @@
 #include <pwd.h>
 #include <grp.h>
 #include <sys/types.h>
+#include <sys/param.h>
 #ifdef AIXV3
 # include <usersec.h>
 #endif
@@ -1089,7 +1090,7 @@
     return env;
 }
 
-#if defined(Lynx) || defined(SCO) && !defined(SCO_USA) || !defined(HAVE_CRYPT_H)
+#if !defined(__NetBSD__) && (defined(Lynx) || defined(SCO) && !defined(SCO_USA) || !defined(HAVE_CRYPT_H))
 char *crypt(s1, s2)
 	char	*s1, *s2;
 {