From dcd18738cc7ea0e60c5ba6ea6f8584eeec6f090b Mon Sep 17 00:00:00 2001 From: Stanislav Sedov Date: Sun, 1 Oct 2006 20:05:53 +0000 Subject: - Fix compiling with oncoming gcc41. Reported by: pointyhat run Approved by: sem (mentor) --- security/pam_af/Makefile | 2 +- security/pam_af/files/patch-common_subr.c | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 security/pam_af/files/patch-common_subr.c (limited to 'security/pam_af') diff --git a/security/pam_af/Makefile b/security/pam_af/Makefile index 70556ad8e89e..a5883cc55585 100644 --- a/security/pam_af/Makefile +++ b/security/pam_af/Makefile @@ -10,7 +10,7 @@ PORTVERSION= 1.0 CATEGORIES= security MASTER_SITES= http://mbsd.msk.ru/dist/ -MAINTAINER= ssedov@mbsd.msk.ru +MAINTAINER= stas@FreeBSD.org COMMENT= Anti-bruteforce PAM module USE_BZIP2= yes diff --git a/security/pam_af/files/patch-common_subr.c b/security/pam_af/files/patch-common_subr.c new file mode 100644 index 000000000000..807db943817d --- /dev/null +++ b/security/pam_af/files/patch-common_subr.c @@ -0,0 +1,11 @@ +--- common/subr.c.orig Sun Oct 1 18:13:16 2006 ++++ common/subr.c Sun Oct 1 18:14:09 2006 +@@ -322,7 +322,7 @@ + const char *db; + char *host; + { +- datum key, data; ++ datum key, data = {NULL, 0}; + struct myaddrinfo *res0, *res; + static hostrule_t hstent; + int found = 0; -- cgit v1.2.3