pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/mtr Fix problem where it stupidly assumes that SCT...
details: https://anonhg.NetBSD.org/pkgsrc/rev/9e62c3f834b4
branches: trunk
changeset: 351447:9e62c3f834b4
user: jnemeth <jnemeth%pkgsrc.org@localhost>
date: Sun Aug 21 00:51:34 2016 +0000
description:
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:
net/mtr/distinfo | 3 ++-
net/mtr/patches/patch-net.h | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r 9e7966694390 -r 9e62c3f834b4 net/mtr/distinfo
--- a/net/mtr/distinfo Sun Aug 21 00:50:02 2016 +0000
+++ b/net/mtr/distinfo Sun Aug 21 00:51:34 2016 +0000
@@ -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 -r 9e7966694390 -r 9e62c3f834b4 net/mtr/patches/patch-net.h
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/mtr/patches/patch-net.h Sun Aug 21 00:51:34 2016 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index