summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/p5-Socket6/distinfo4
-rw-r--r--net/p5-Socket6/patches/patch-Socket6.xs15
2 files changed, 12 insertions, 7 deletions
diff --git a/net/p5-Socket6/distinfo b/net/p5-Socket6/distinfo
index e666d1606ae..17f77b34506 100644
--- a/net/p5-Socket6/distinfo
+++ b/net/p5-Socket6/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.15 2018/09/08 23:34:37 mef Exp $
+$NetBSD: distinfo,v 1.16 2018/09/29 18:09:10 sevan Exp $
SHA1 (Socket6-0.28.tar.gz) = 5903fbf53e0e25623bf71c252c3a073389686ed0
RMD160 (Socket6-0.28.tar.gz) = 8497de1d6edda53d28e214937d13172cab6e199b
SHA512 (Socket6-0.28.tar.gz) = 6f7ea283b0eabbe3051ec6d54e070a0290aa1cec6bb82b949a5a23b38b591766d19d2ae7e085c86cf44dac19784c5df3c2bf25a011b77281d5cb7d025beaafce
Size (Socket6-0.28.tar.gz) = 65567 bytes
-SHA1 (patch-Socket6.xs) = 15ebae6482467d87d091c700e4e880578453e933
+SHA1 (patch-Socket6.xs) = 6feff541bedce6664bc630f1212d33ae74bd51eb
SHA1 (patch-aa) = f9de0f5bd6f862129069f9617531260d8d821da8
diff --git a/net/p5-Socket6/patches/patch-Socket6.xs b/net/p5-Socket6/patches/patch-Socket6.xs
index 0b7295ca48b..c515ef350ac 100644
--- a/net/p5-Socket6/patches/patch-Socket6.xs
+++ b/net/p5-Socket6/patches/patch-Socket6.xs
@@ -1,4 +1,4 @@
-$NetBSD: patch-Socket6.xs,v 1.1 2018/09/08 23:35:09 mef Exp $
+$NetBSD: patch-Socket6.xs,v 1.2 2018/09/29 18:09:10 sevan Exp $
Starting (between 8.99.22 and 8.99.25), path changed on ipsec.h
| Date: Thu Sep 6 19:07:13 2018 +0000
@@ -7,14 +7,19 @@ Starting (between 8.99.22 and 8.99.25), path changed on ipsec.h
Socket6.xs:68:30: fatal error: netinet6/ipsec.h: No such file or directory
# include <netinet6/ipsec.h>
---- Socket6.c.orig 2018-09-09 07:59:51.799287247 +0900
-+++ Socket6.xs 2018-09-09 08:01:38.735684757 +0900
-@@ -71,7 +71,7 @@ const struct in6_addr in6addr_loopback =
+DragonFly removed the IPsec stack it inherited
+
+--- Socket6.xs.orig 2016-04-11 03:27:34.000000000 +0000
++++ Socket6.xs
+@@ -62,9 +62,9 @@ const struct in6_addr in6addr_loopback =
#ifdef __KAME__
# include <sys/param.h>
# include <net/route.h>
-# if defined(__FreeBSD__) && __FreeBSD_version >= 700048
+# if (defined(__FreeBSD__) && __FreeBSD_version >= 700048 )|| (defined(__NetBSD__) && __NetBSD_Version__ >= 899002500 )
# include <netipsec/ipsec.h>
- # elif !defined(__OpenBSD__)
+-# elif !defined(__OpenBSD__)
++# elif !defined(__OpenBSD__) && !defined(__DragonFly__)
# include <netinet6/ipsec.h>
+ # endif
+ #endif