diff options
author | fhajny <fhajny@pkgsrc.org> | 2013-08-09 11:41:20 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2013-08-09 11:41:20 +0000 |
commit | 7a141f75f840d99ce8c934465a4a56e146243ded (patch) | |
tree | 22319a14ad24e9e1d9a6c8a4a7d17b0751b09785 /net/mtr | |
parent | d228c4b1f387ec4120399eaf3bef91a97d460226 (diff) | |
download | pkgsrc-7a141f75f840d99ce8c934465a4a56e146243ded.tar.gz |
Fix build on SunOS.
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/distinfo | 3 | ||||
-rw-r--r-- | net/mtr/patches/patch-net.c | 15 |
2 files changed, 17 insertions, 1 deletions
diff --git a/net/mtr/distinfo b/net/mtr/distinfo index b2548a0ef1e..1c278c5d6d2 100644 --- a/net/mtr/distinfo +++ b/net/mtr/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.39 2013/07/06 09:57:20 tron Exp $ +$NetBSD: distinfo,v 1.40 2013/08/09 11:41:20 fhajny Exp $ SHA1 (mtr-0.85.tar.gz) = 77204a1a577cfca30c79c43a8fa3daafd280f1b8 RMD160 (mtr-0.85.tar.gz) = 0ca692799d3b4d4358d02f72787e8705c061c817 Size (mtr-0.85.tar.gz) = 534196 bytes SHA1 (patch-asn.c) = 5582267de8777e2139acf30e0cd360262ae07a84 +SHA1 (patch-net.c) = b8a88ef7c4bad7cfbb502e60e12fd84b90e601dd SHA1 (patch-report.c) = 13c834fa841bce84aadc57124b6de6ffbc8766e9 diff --git a/net/mtr/patches/patch-net.c b/net/mtr/patches/patch-net.c new file mode 100644 index 00000000000..ddd0f93f77d --- /dev/null +++ b/net/mtr/patches/patch-net.c @@ -0,0 +1,15 @@ +$NetBSD: patch-net.c,v 1.1 2013/08/09 11:41:20 fhajny Exp $ + +Fix build on SunOS. +--- net.c.orig 2013-04-29 18:22:05.000000000 +0000 ++++ net.c +@@ -38,6 +38,9 @@ + #include <math.h> + #include <errno.h> + #include <string.h> ++#ifdef __sun ++#include <sys/filio.h> ++#endif + + #include "mtr.h" + #include "net.h" |