Files
pkgsrc-ng/security/chkrootkit/patches/patch-ab
2016-01-21 23:40:00 +01:00

18 lines
486 B
Plaintext

$NetBSD: patch-ab,v 1.2 2014/12/08 14:04:57 mef Exp $
Add NetBSD Path
--- chklastlog.c.orig 2014-05-06 19:12:14.000000000 +0900
+++ chklastlog.c 2014-12-08 22:32:03.000000000 +0900
@@ -59,6 +59,10 @@
#define WTMP_FILENAME "/var/log/wtmp"
#define LASTLOG_FILENAME "/var/log/lastlog"
#endif
+#ifdef __NetBSD__
+#define WTMP_FILENAME "/var/log/wtmp"
+#define LASTLOG_FILENAME "/var/log/lastlog"
+#endif
#ifdef __OpenBSD__
#include <stdlib.h>
#define WTMP_FILENAME "/var/log/wtmp"