summaryrefslogtreecommitdiff
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
parentf61c7bb27486e56b5ea55539db814b9c6ca0b4ba (diff)
downloadpkgsrc-9a1251c11da57ccd409c28c67ea6e83920091bc2.tar.gz
Fix compilation on 1.6, by disabling lastlogx support.
-rw-r--r--x11/rxvt/distinfo3
-rw-r--r--x11/rxvt/patches/patch-ae18
2 files changed, 20 insertions, 1 deletions
diff --git a/x11/rxvt/distinfo b/x11/rxvt/distinfo
index a57f15c26dc..61602490c09 100644
--- a/x11/rxvt/distinfo
+++ b/x11/rxvt/distinfo
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.11 2003/03/27 07:14:25 wiz Exp $
+$NetBSD: distinfo,v 1.12 2003/03/28 10:55:22 wiz Exp $
SHA1 (rxvt-2.7.10.tar.bz2) = 16eae23c3227e28e5e7a53a58eaa3226affe65f9
Size (rxvt-2.7.10.tar.bz2) = 493199 bytes
SHA1 (patch-aa) = 7569bd4c4136d19ee4d8a6f1baa02b2b214ea4ad
SHA1 (patch-ab) = 62ef5b28f8842b769829fed0d217a9c54f48c832
SHA1 (patch-ad) = 86047c69fa397d71f3e71ae476bd7addd153729f
+SHA1 (patch-ae) = 76221e9b3cd35a0f40fb6128e0bf9d74d232d907
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_ */