summaryrefslogtreecommitdiff
path: root/x11/rxvt/patches
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2002-09-30 12:29:12 +0000
committermartin <martin@pkgsrc.org>2002-09-30 12:29:12 +0000
commitec310f19cbc0567799ee4da0c73274a04c182738 (patch)
tree77ae878a72518e2bd151325797e432b3af41fbc9 /x11/rxvt/patches
parent05da7abd5e49dd0fb7d5395287be66f4904e3a3a (diff)
downloadpkgsrc-ec310f19cbc0567799ee4da0c73274a04c182738.tar.gz
Brute-force SYSV style utmpx handling off if compiling for NetBSD.
Our utmpx (at least in current) is good enough to be recognized, but the configure script/ifdef logic assumes we are SysV then, unless overriden as Solaris (RXVT_UTMP_AS_UTMPX). But we are BSD style utmpx, so no ut_id, ut_pid, ut_type and friends.
Diffstat (limited to 'x11/rxvt/patches')
-rw-r--r--x11/rxvt/patches/patch-af14
1 files changed, 14 insertions, 0 deletions
diff --git a/x11/rxvt/patches/patch-af b/x11/rxvt/patches/patch-af
new file mode 100644
index 00000000000..40dd0bfdf10
--- /dev/null
+++ b/x11/rxvt/patches/patch-af
@@ -0,0 +1,14 @@
+$NetBSD: patch-af,v 1.3 2002/09/30 12:29:12 martin Exp $
+
+
+--- src/logging.h.orig Mon Sep 30 14:18:57 2002
++++ src/logging.h Mon Sep 30 14:19:25 2002
+@@ -32,7 +32,7 @@
+ # include <utmpx.h>
+ # else
+ # include <utmp.h>
+-# ifdef HAVE_SETUTENT
++# if defined(HAVE_SETUTENT) && !defined(__NetBSD__)
+ # define USE_SYSV_UTMP
+ # else
+ # undef USE_SYSV_UTMP