Fix build under Mac OS X (Lion).
This commit is contained in:
parent
721adfe38d
commit
4d506512a3
2 changed files with 18 additions and 1 deletions
|
@ -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
|
||||
|
|
16
net/mtr/patches/patch-asn.c
Normal file
16
net/mtr/patches/patch-asn.c
Normal file
|
@ -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>
|
Loading…
Reference in a new issue