mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-03 17:59:07 -04:00
21 lines
628 B
Plaintext
21 lines
628 B
Plaintext
$NetBSD: patch-ad,v 1.2 2002/08/25 21:52:31 jlam Exp $
|
|
|
|
--- 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
|