pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/qmail-spp-spf #include <sys/socket.h> to get AF_I...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2a4cec0e56e
branches:  trunk
changeset: 316589:a2a4cec0e56e
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sat Dec 15 21:15:16 2018 +0000

description:
#include <sys/socket.h> to get AF_INET{,6} defined on FreeBSD.

diffstat:

 mail/qmail-spp-spf/distinfo                               |   4 +-
 mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c |  18 ++++++++++----
 2 files changed, 15 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r c9946d53a2c8 -r a2a4cec0e56e mail/qmail-spp-spf/distinfo
--- a/mail/qmail-spp-spf/distinfo       Sat Dec 15 21:12:18 2018 +0000
+++ b/mail/qmail-spp-spf/distinfo       Sat Dec 15 21:15:16 2018 +0000
@@ -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 -r c9946d53a2c8 -r a2a4cec0e56e mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c
--- a/mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c Sat Dec 15 21:12:18 2018 +0000
+++ b/mail/qmail-spp-spf/patches/patch-qmail-spp-spf-20091020.c Sat Dec 15 21:15:16 2018 +0000
@@ -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 @@
  
  #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
      {



Home | Main Index | Thread Index | Old Index