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
commitb85229a1566e4904c294327b3578a6c4f99f2af0 (patch)
tree35cafa802640445e501404dcc118830db5726a42 /x11/rxvt/patches
parentb65206c1cb23b35de8cdc814fe0d96cd7c11c239 (diff)
downloadpkgsrc-b85229a1566e4904c294327b3578a6c4f99f2af0.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_ */