pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/mtr Added fix for includes so mtr will compile on ...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e2b2b076505
branches:  trunk
changeset: 487136:2e2b2b076505
user:      jklos <jklos%pkgsrc.org@localhost>
date:      Mon Jan 10 00:15:11 2005 +0000

description:
Added fix for includes so mtr will compile on Mac OS X.

diffstat:

 net/mtr/distinfo         |   4 ++--
 net/mtr/patches/patch-ab |  27 ++++++++++++++++++++++-----
 2 files changed, 24 insertions(+), 7 deletions(-)

diffs (48 lines):

diff -r b09787437e5c -r 2e2b2b076505 net/mtr/distinfo
--- a/net/mtr/distinfo  Sun Jan 09 23:59:26 2005 +0000
+++ b/net/mtr/distinfo  Mon Jan 10 00:15:11 2005 +0000
@@ -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 -r b09787437e5c -r 2e2b2b076505 net/mtr/patches/patch-ab
--- a/net/mtr/patches/patch-ab  Sun Jan 09 23:59:26 2005 +0000
+++ b/net/mtr/patches/patch-ab  Mon Jan 10 00:15:11 2005 +0000
@@ -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;



Home | Main Index | Thread Index | Old Index