summaryrefslogtreecommitdiff
path: root/x11/rxvt/patches/patch-ae
blob: 664afcb9f4d7ad92b5c53d02be65562c615912aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$NetBSD: patch-ae,v 1.6 2003/03/28 10:55:22 wiz Exp $

--- src/logging.h.orig	Tue Oct  1 06:33:47 2002
+++ src/logging.h
@@ -31,4 +31,13 @@
 
 #include "logging.intpro"		/* PROTOS for internal routines */
 #endif
+
+/* lastlogx support is incomplete on the NetBSD 1.6-branch  -- disable it */
+#ifdef __NetBSD__
+# include <sys/param.h>
+# if __NetBSD_Version__ >= 106000000 && __NetBSD_Version__ < 106010000
+#  undef HAVE_STRUCT_LASTLOGX
+# endif
+#endif
+
 #endif /* _LOGGING_H_ */