diff options
author | tonio <tonio@pkgsrc.org> | 2005-11-20 15:08:35 +0000 |
---|---|---|
committer | tonio <tonio@pkgsrc.org> | 2005-11-20 15:08:35 +0000 |
commit | f8d6e6abd4abb2d8154ef6b45dad645c02a206ba (patch) | |
tree | 81adb565120886dbc8a9091f947fa9cd5ef0dd3a /net | |
parent | a4b630d89cb205f95e6d570141e44e79388f5af9 (diff) | |
download | pkgsrc-f8d6e6abd4abb2d8154ef6b45dad645c02a206ba.tar.gz |
Fix build under darwin:
add -DBIND_8_COMPAT to CFLAGS under Darwin, and make sure T_SRV is defined
Diffstat (limited to 'net')
-rw-r--r-- | net/libares/Makefile | 4 | ||||
-rw-r--r-- | net/libares/distinfo | 3 | ||||
-rw-r--r-- | net/libares/patches/patch-ac | 15 |
3 files changed, 20 insertions, 2 deletions
diff --git a/net/libares/Makefile b/net/libares/Makefile index c076103c5a0..2a4dd32104f 100644 --- a/net/libares/Makefile +++ b/net/libares/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.5 2005/04/11 21:46:49 tv Exp $ +# $NetBSD: Makefile,v 1.6 2005/11/20 15:08:35 tonio Exp $ # DISTNAME= ares-1.1.1 @@ -13,4 +13,6 @@ COMMENT= Asynchronous DNS resolver library GNU_CONFIGURE= YES +CFLAGS.Darwin+= -DBIND_8_COMPAT + .include "../../mk/bsd.pkg.mk" diff --git a/net/libares/distinfo b/net/libares/distinfo index 2d4e5d44f46..d7c5d570340 100644 --- a/net/libares/distinfo +++ b/net/libares/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.3 2005/03/12 05:42:48 tv Exp $ +$NetBSD: distinfo,v 1.4 2005/11/20 15:08:35 tonio Exp $ SHA1 (ares-1.1.1.tar.gz) = eafe6ba9c85122538f06dabd735a048abea8bb1e RMD160 (ares-1.1.1.tar.gz) = 2b564f1194f538ba12378034428bd3a22f8e5a98 Size (ares-1.1.1.tar.gz) = 65463 bytes SHA1 (patch-aa) = cb8aaad721963f958d61b6b9f3d466c522736c56 SHA1 (patch-ab) = 380f6cc08630e8173ca7106a939c77fbf6994010 +SHA1 (patch-ac) = 563e29d30d0542b5baac60eba5d053a64c4980da diff --git a/net/libares/patches/patch-ac b/net/libares/patches/patch-ac new file mode 100644 index 00000000000..d73db6d6fe9 --- /dev/null +++ b/net/libares/patches/patch-ac @@ -0,0 +1,15 @@ +$NetBSD: patch-ac,v 1.1 2005/11/20 15:08:35 tonio Exp $ + +--- adig.c.orig 2001-05-18 22:59:51.000000000 +0200 ++++ adig.c +@@ -35,6 +35,10 @@ static const char rcsid[] = "$Id: adig.c + #define INADDR_NONE 0xffffffff + #endif + ++#ifndef T_SRV ++#define T_SRV 33 ++#endif /* T_SRV */ ++ + extern int optind; + extern char *optarg; + |