pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/libares Fix build under darwin:



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4895c3caa0f9
branches:  trunk
changeset: 503438:4895c3caa0f9
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Sun Nov 20 15:08:35 2005 +0000

description:
Fix build under darwin:
add -DBIND_8_COMPAT to CFLAGS under Darwin, and make sure T_SRV is defined

diffstat:

 net/libares/Makefile         |   4 +++-
 net/libares/distinfo         |   3 ++-
 net/libares/patches/patch-ac |  15 +++++++++++++++
 3 files changed, 20 insertions(+), 2 deletions(-)

diffs (48 lines):

diff -r 7198e47fdc10 -r 4895c3caa0f9 net/libares/Makefile
--- a/net/libares/Makefile      Sun Nov 20 14:55:13 2005 +0000
+++ b/net/libares/Makefile      Sun Nov 20 15:08:35 2005 +0000
@@ -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 @@
 
 GNU_CONFIGURE= YES
 
+CFLAGS.Darwin+=         -DBIND_8_COMPAT
+
 .include "../../mk/bsd.pkg.mk"
diff -r 7198e47fdc10 -r 4895c3caa0f9 net/libares/distinfo
--- a/net/libares/distinfo      Sun Nov 20 14:55:13 2005 +0000
+++ b/net/libares/distinfo      Sun Nov 20 15:08:35 2005 +0000
@@ -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 -r 7198e47fdc10 -r 4895c3caa0f9 net/libares/patches/patch-ac
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/net/libares/patches/patch-ac      Sun Nov 20 15:08:35 2005 +0000
@@ -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;
+ 



Home | Main Index | Thread Index | Old Index