summaryrefslogtreecommitdiffstats
path: root/security/pwauth/files/patch-utmpx
diff options
context:
space:
mode:
Diffstat (limited to 'security/pwauth/files/patch-utmpx')
-rw-r--r--security/pwauth/files/patch-utmpx33
1 files changed, 33 insertions, 0 deletions
diff --git a/security/pwauth/files/patch-utmpx b/security/pwauth/files/patch-utmpx
new file mode 100644
index 0000000..eef7e8e
--- /dev/null
+++ b/security/pwauth/files/patch-utmpx
@@ -0,0 +1,33 @@
+--- checkfaillog.c.orig 2012-02-11 13:18:31.000000000 +0200
++++ checkfaillog.c 2012-02-11 13:18:50.000000000 +0200
+@@ -33,7 +33,7 @@
+
+ #include <stdio.h>
+ #include <sys/types.h>
+-#include <utmp.h>
++#include <utmpx.h>
+ #include <pwd.h>
+
+ #include "config.h"
+--- fail_check.c.orig 2012-02-11 13:18:36.000000000 +0200
++++ fail_check.c 2012-02-11 13:18:59.000000000 +0200
+@@ -35,7 +35,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+-#include <utmp.h>
++#include <utmpx.h>
+
+ #include "config.h"
+ #include "fail_log.h"
+--- pwauth.h.orig 2012-02-11 13:18:41.000000000 +0200
++++ pwauth.h 2012-02-11 13:19:08.000000000 +0200
+@@ -71,7 +71,7 @@
+
+ #ifdef UNIX_LASTLOG
+ # define NEED_UID
+-# include <utmp.h>
++# include <utmpx.h>
+ # ifdef HAVE_LASTLOG_H
+ # include <lastlog.h>
+ # endif
OpenPOWER on IntegriCloud