summaryrefslogtreecommitdiff
path: root/net/mtr
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2013-07-06 09:57:20 +0000
committertron <tron@pkgsrc.org>2013-07-06 09:57:20 +0000
commit8bd0e60d86edffe353fd459c590e42b47b521d64 (patch)
tree20543584abd925a4949fa76edd91f066c74fe7ec /net/mtr
parent169e63732d3ed63305fb7856fd8f5d5be320f1a5 (diff)
downloadpkgsrc-8bd0e60d86edffe353fd459c590e42b47b521d64.tar.gz
Fix build under Mac OS X (Lion).
Diffstat (limited to 'net/mtr')
-rw-r--r--net/mtr/distinfo3
-rw-r--r--net/mtr/patches/patch-asn.c16
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>