summaryrefslogtreecommitdiff
path: root/security/chkrootkit/patches/patch-ab
diff options
context:
space:
mode:
Diffstat (limited to 'security/chkrootkit/patches/patch-ab')
-rw-r--r--security/chkrootkit/patches/patch-ab12
1 files changed, 7 insertions, 5 deletions
diff --git a/security/chkrootkit/patches/patch-ab b/security/chkrootkit/patches/patch-ab
index 78a88a8a864..e0c7e0b8354 100644
--- a/security/chkrootkit/patches/patch-ab
+++ b/security/chkrootkit/patches/patch-ab
@@ -1,8 +1,10 @@
-$NetBSD: patch-ab,v 1.1 2004/05/26 15:04:32 wiz Exp $
+$NetBSD: patch-ab,v 1.2 2014/12/08 14:04:57 mef Exp $
---- chklastlog.c.orig 2003-12-26 19:30:12.000000000 +0100
-+++ chklastlog.c
-@@ -57,6 +57,10 @@
+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
@@ -11,5 +13,5 @@ $NetBSD: patch-ab,v 1.1 2004/05/26 15:04:32 wiz Exp $
+#define LASTLOG_FILENAME "/var/log/lastlog"
+#endif
#ifdef __OpenBSD__
+ #include <stdlib.h>
#define WTMP_FILENAME "/var/log/wtmp"
- #define LASTLOG_FILENAME "/var/log/lastlog"