summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2005-01-10 00:15:11 +0000
committerjklos <jklos@pkgsrc.org>2005-01-10 00:15:11 +0000
commitb500ff92d79c57bf096b22f7c04dd93a3740cb71 (patch)
tree92876e4712e2406999f171c1868a67cc0f7932fe /net
parentc1a8410ae8142d11fd24754cd7427a590cdd43e0 (diff)
downloadpkgsrc-b500ff92d79c57bf096b22f7c04dd93a3740cb71.tar.gz
Added fix for includes so mtr will compile on Mac OS X.
Diffstat (limited to 'net')
-rw-r--r--net/mtr/distinfo4
-rw-r--r--net/mtr/patches/patch-ab27
2 files changed, 24 insertions, 7 deletions
diff --git a/net/mtr/distinfo b/net/mtr/distinfo
index b1594802cec..3f9f6e592fe 100644
--- a/net/mtr/distinfo
+++ b/net/mtr/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.11 2004/12/25 21:24:45 wiz Exp $
+$NetBSD: distinfo,v 1.12 2005/01/10 00:15:18 jklos Exp $
SHA1 (mtr-0.67.tar.gz) = 23fe652ebe25fe86fcb421e78eb76917248b9c94
Size (mtr-0.67.tar.gz) = 131393 bytes
SHA1 (patch-aa) = eb1998efc2a5b455461333382c34ed9c77cf76ef
-SHA1 (patch-ab) = 8e329ba3e46e47db29a17acd746ccd461a25f1a9
+SHA1 (patch-ab) = 09777b451c142e8fa20de090e5fb7250c36b7c89
SHA1 (patch-ad) = 91788870a4375fc622f512b5823202e7084f4c2e
SHA1 (patch-ae) = ccc70fa482a8b8d4ab3124558e6586254a8c36bf
diff --git a/net/mtr/patches/patch-ab b/net/mtr/patches/patch-ab
index aeb577bbe32..5016a5d3800 100644
--- a/net/mtr/patches/patch-ab
+++ b/net/mtr/patches/patch-ab
@@ -1,8 +1,25 @@
-$NetBSD: patch-ab,v 1.5 2004/10/27 16:18:31 wiz Exp $
-
---- dns.c.orig 2004-10-27 11:47:06.000000000 -0400
-+++ dns.c 2004-10-27 11:47:52.000000000 -0400
-@@ -814,9 +814,9 @@
+--- dns.c.orig Thu Aug 26 00:56:53 2004
++++ dns.c Sun Jan 9 16:06:08 2005
+@@ -32,9 +32,18 @@
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <arpa/inet.h>
++
++#ifdef __APPLE__
++#include <arpa/nameser8_compat.h>
++#else
+ #include <arpa/nameser.h>
++#endif
+ #include <netdb.h>
++#ifdef __APPLE__
++#include <resolv8_compat.h>
++#else
+ #include <resolv.h>
++#endif
+ #include <unistd.h>
+ #include <fcntl.h>
+ #include <ctype.h>
+@@ -814,9 +823,9 @@
{
packetheader *hp;
int r,i;