diff options
author | tron <tron@pkgsrc.org> | 2013-07-06 09:57:20 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2013-07-06 09:57:20 +0000 |
commit | 4d506512a33ae33564974d513c272a534d276a8c (patch) | |
tree | 20543584abd925a4949fa76edd91f066c74fe7ec /net/mtr | |
parent | 721adfe38d7497e6a3a12760711c9b178f78f05f (diff) | |
download | pkgsrc-4d506512a33ae33564974d513c272a534d276a8c.tar.gz |
Fix build under Mac OS X (Lion).
Diffstat (limited to 'net/mtr')
-rw-r--r-- | net/mtr/distinfo | 3 | ||||
-rw-r--r-- | net/mtr/patches/patch-asn.c | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/net/mtr/distinfo b/net/mtr/distinfo index c696da9a327..b2548a0ef1e 100644 --- a/net/mtr/distinfo +++ b/net/mtr/distinfo @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.38 2013/07/04 03:41:48 dholland Exp $ +$NetBSD: distinfo,v 1.39 2013/07/06 09:57:20 tron 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-report.c) = 13c834fa841bce84aadc57124b6de6ffbc8766e9 diff --git a/net/mtr/patches/patch-asn.c b/net/mtr/patches/patch-asn.c new file mode 100644 index 00000000000..cd9ff79924d --- /dev/null +++ b/net/mtr/patches/patch-asn.c @@ -0,0 +1,16 @@ +$NetBSD: patch-asn.c,v 1.3 2013/07/06 09:57:20 tron Exp $ + +Fix build under Mac OS X (Lion). + +--- asn.c.orig 2013-04-24 10:32:13.000000000 +0100 ++++ asn.c 2013-07-06 10:55:12.000000000 +0100 +@@ -21,9 +21,7 @@ + #include <stdlib.h> + #include <sys/types.h> + +-#ifndef __APPLE__ + #define BIND_8_COMPAT +-#endif + #include <arpa/nameser.h> + #ifdef HAVE_ARPA_NAMESER_COMPAT_H + #include <arpa/nameser_compat.h> |