freebsd-ports/security/pwauth/files/extra-patch-utmpx
Beech Rintoul 69cc692bfd - update to 2.3.10
- unbreak build on FreeBSD 9.X, 10.X

PR:		ports/167781
Submitted by:	Edmondas Girkantas <eg@fbsd.lt> (maintainer)
2012-05-10 22:02:13 +00:00

33 lines
801 B
Text

--- 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