diff options
-rw-r--r-- | net/mtr/distinfo | 3 | ||||
-rw-r--r-- | net/mtr/patches/patch-net.h | 18 |
2 files changed, 20 insertions, 1 deletions
diff --git a/net/mtr/distinfo b/net/mtr/distinfo index 3fae9d7d887..ee46d712ddc 100644 --- a/net/mtr/distinfo +++ b/net/mtr/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.43 2016/08/19 13:42:58 wiz Exp $ +$NetBSD: distinfo,v 1.44 2016/08/21 00:51:34 jnemeth Exp $ SHA1 (mtr-0.87.tar.gz) = afd192a765116f3d44e4bada9e11d4ccd79acefc RMD160 (mtr-0.87.tar.gz) = 9cc760ec31113462f9aeff94b3ba1af1cb4ed994 SHA512 (mtr-0.87.tar.gz) = 172ba2f78a6ee4deb427ac2fb00dff16843215dbd23663fbe41fcc957ffe278b408a73a0c7e1c05788b235e2d03fb53f9971b8b82d4de2f95edcaa9f2cff3cf9 Size (mtr-0.87.tar.gz) = 184645 bytes SHA1 (patch-net.c) = b8a88ef7c4bad7cfbb502e60e12fd84b90e601dd +SHA1 (patch-net.h) = 4aa64aeb673464669887892a0f88e93e96f928cb diff --git a/net/mtr/patches/patch-net.h b/net/mtr/patches/patch-net.h new file mode 100644 index 00000000000..7b021a9b846 --- /dev/null +++ b/net/mtr/patches/patch-net.h @@ -0,0 +1,18 @@ +$NetBSD: patch-net.h,v 1.1 2016/08/21 00:51:34 jnemeth Exp $ + +Stupidly assumes that SCTP is available everywhere. +At least let it compile on older systems. + +--- net.h.orig 2014-12-09 11:19:43.000000000 +0000 ++++ net.h +@@ -26,6 +26,10 @@ + #include <netinet/icmp6.h> + #endif + ++#ifndef IPPROTO_SCTP ++#define IPPROTO_SCTP 132 ++#endif ++ + int net_preopen(void); + int net_selectsocket(void); + int net_open(struct hostent *host); |