diff options
-rw-r--r-- | mail/qmail-spp-spf/distinfo | 4 | ||||
-rw-r--r-- | mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c | 18 |
2 files changed, 15 insertions, 7 deletions
diff --git a/mail/qmail-spp-spf/distinfo b/mail/qmail-spp-spf/distinfo index 91fb58afbec..ed77816e2e9 100644 --- a/mail/qmail-spp-spf/distinfo +++ b/mail/qmail-spp-spf/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.1 2018/12/06 00:07:33 schmonz Exp $ +$NetBSD: distinfo,v 1.2 2018/12/15 21:15:16 schmonz Exp $ SHA1 (qmail-spp-spf-20091020.c) = 3aca350c027345126cc631ffecdbbb697c9c4c45 RMD160 (qmail-spp-spf-20091020.c) = 874bf86fdd4ddb671ad0827e1bf56cdda1deaec9 SHA512 (qmail-spp-spf-20091020.c) = ffccb601ffa6d9088fc2530024412628a69f57f6448b78fa0d37d4aecc4a886360682bcaf49391f94edeb56b1cbf576122183461f25d4a661ce16e1eeeed8bf0 Size (qmail-spp-spf-20091020.c) = 14965 bytes -SHA1 (patch-qmail-spp-spf-20091020.c) = 6148fb9f1f56b6e154890a3de10877572e139add +SHA1 (patch-qmail-spp-spf-20091020.c) = 8b304e043c22edb9a5fa088ae7da9348f71d9af2 diff --git a/mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c b/mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c index f2924680507..a3607a5122b 100644 --- a/mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c +++ b/mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c @@ -1,10 +1,18 @@ -$NetBSD: patch-qmail-spp-spf-20091020.c,v 1.1 2018/12/06 00:07:33 schmonz Exp $ +$NetBSD: patch-qmail-spp-spf-20091020.c,v 1.2 2018/12/15 21:15:16 schmonz Exp $ -Adjust include path and IPv6 struct access. +Adjust include path and IPv6 struct access. Ensure AF_INET{,6} is defined. ---- qmail-spp-spf-20091020.c.orig 2018-12-05 23:27:39.000000000 +0000 +--- qmail-spp-spf-20091020.c.orig 2018-12-15 21:12:41.000000000 +0000 +++ qmail-spp-spf-20091020.c -@@ -150,7 +150,7 @@ +@@ -143,6 +143,7 @@ + "make" or "tcprules" commands.) + */ + ++#include <sys/socket.h> + #include <stdio.h> + #include <stdlib.h> + #include <string.h> +@@ -150,7 +151,7 @@ #include <time.h> #include <arpa/inet.h> #include <unistd.h> @@ -13,7 +21,7 @@ Adjust include path and IPv6 struct access. #define LOG "qmail-spp-spf: " #define LOGR "qmail-spp-spf:%s: " -@@ -263,10 +263,17 @@ int random_ip_passes(SPF_request_t *spf_ +@@ -263,10 +264,17 @@ int random_ip_passes(SPF_request_t *spf_ } else { |