mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-27 14:00:45 -04:00
23 lines
655 B
Plaintext
23 lines
655 B
Plaintext
$NetBSD: patch-ad,v 1.3 2016/05/01 19:59:28 dholland Exp $
|
|
|
|
wtmpx handling fixes.
|
|
|
|
--- src/rxvt.h.orig Sat May 4 08:47:56 2002
|
|
+++ src/rxvt.h
|
|
@@ -549,11 +549,13 @@
|
|
#ifdef WTMP_SUPPORT
|
|
# ifdef HAVE_UTMPX_H /* means we're on Solaris (or Irix?) */
|
|
# undef WTMP_FILENAME
|
|
-# if defined(WTMPX_FILE) || defined(_WTMPX_FILE)
|
|
+# if defined(WTMPX_FILE) || defined(_WTMPX_FILE) || defined(_PATH_WTMPX)
|
|
# if defined(WTMPX_FILE)
|
|
# define WTMP_FILENAME WTMPX_FILE
|
|
-# else
|
|
+# elif defined(_WTMPX_FILE)
|
|
# define WTMP_FILENAME _WTMPX_FILE
|
|
+# else
|
|
+# define WTMP_FILENAME _PATH_WTMPX
|
|
# endif
|
|
# define update_wtmp updwtmpx
|
|
# else
|