diff options
author | jnemeth <jnemeth> | 2016-08-21 00:51:34 +0000 |
---|---|---|
committer | jnemeth <jnemeth> | 2016-08-21 00:51:34 +0000 |
commit | 05b9f38270f750f8a5149072578a93f315a42c74 (patch) | |
tree | 44e7437467792658dc1cc86bfef88962d1997487 /net | |
parent | e82b83d25c5a7e901b404a92a91729dabdb06406 (diff) | |
download | pkgsrc-05b9f38270f750f8a5149072578a93f315a42c74.tar.gz |
Fix problem where it stupidly assumes that SCTP is available
everywhere (or, at least make it compile). Not reported upstream
since the bug tracker requires a login, and I can't be bothered to
create accounts on every bug tracker going. Not bumping PKGREVISION,
since it is a build fix.
Diffstat (limited to 'net')
-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); |