summaryrefslogtreecommitdiff
path: root/x11/rxvt/patches
diff options
context:
space:
mode:
authormartin <martin>2002-09-30 12:29:12 +0000
committermartin <martin>2002-09-30 12:29:12 +0000
commitc264fc61ba90ef78ea8ca581a3f40123ecb3532f (patch)
tree77ae878a72518e2bd151325797e432b3af41fbc9 /x11/rxvt/patches
parent46792a72e3c8f969f68b6f497c525afc53258387 (diff)
downloadpkgsrc-c264fc61ba90ef78ea8ca581a3f40123ecb3532f.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