summaryrefslogtreecommitdiff
path: root/x11/rxvt/patches
diff options
context:
space:
mode:
authorwiz <wiz>2003-03-28 10:55:22 +0000
committerwiz <wiz>2003-03-28 10:55:22 +0000
commit9a1251c11da57ccd409c28c67ea6e83920091bc2 (patch)
tree35cafa802640445e501404dcc118830db5726a42 /x11/rxvt/patches
parentf61c7bb27486e56b5ea55539db814b9c6ca0b4ba (diff)
downloadpkgsrc-9a1251c11da57ccd409c28c67ea6e83920091bc2.tar.gz
Fix compilation on 1.6, by disabling lastlogx support.
Diffstat (limited to 'x11/rxvt/patches')
-rw-r--r--x11/rxvt/patches/patch-ae18
1 files changed, 18 insertions, 0 deletions
diff --git a/x11/rxvt/patches/patch-ae b/x11/rxvt/patches/patch-ae
new file mode 100644
index 00000000000..664afcb9f4d
--- /dev/null
+++ b/x11/rxvt/patches/patch-ae
@@ -0,0 +1,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_ */