pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/mtr



Module Name:    pkgsrc
Committed By:   jnemeth
Date:           Sun Aug 21 00:51:34 UTC 2016

Modified Files:
        pkgsrc/net/mtr: distinfo
Added Files:
        pkgsrc/net/mtr/patches: patch-net.h

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.43 -r1.44 pkgsrc/net/mtr/distinfo
cvs rdiff -u -r0 -r1.1 pkgsrc/net/mtr/patches/patch-net.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/mtr/distinfo
diff -u pkgsrc/net/mtr/distinfo:1.43 pkgsrc/net/mtr/distinfo:1.44
--- pkgsrc/net/mtr/distinfo:1.43        Fri Aug 19 13:42:58 2016
+++ pkgsrc/net/mtr/distinfo     Sun Aug 21 00:51:34 2016
@@ -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

Added files:

Index: pkgsrc/net/mtr/patches/patch-net.h
diff -u /dev/null pkgsrc/net/mtr/patches/patch-net.h:1.1
--- /dev/null   Sun Aug 21 00:51:35 2016
+++ pkgsrc/net/mtr/patches/patch-net.h  Sun Aug 21 00:51:34 2016
@@ -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