pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ORBit2 Make this build and work under NetBSD 2.0E ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b7a36b38b937
branches: trunk
changeset: 475656:b7a36b38b937
user: tron <tron%pkgsrc.org@localhost>
date: Sat May 22 17:41:31 2004 +0000
description:
Make this build and work under NetBSD 2.0E and above with the bind9
resolver library.
diffstat:
net/ORBit2/distinfo | 3 ++-
net/ORBit2/patches/patch-aa | 31 +++++++++++++++++++++++++++++++
2 files changed, 33 insertions(+), 1 deletions(-)
diffs (45 lines):
diff -r 17443d71d41d -r b7a36b38b937 net/ORBit2/distinfo
--- a/net/ORBit2/distinfo Sat May 22 17:27:15 2004 +0000
+++ b/net/ORBit2/distinfo Sat May 22 17:41:31 2004 +0000
@@ -1,4 +1,5 @@
-$NetBSD: distinfo,v 1.16 2004/05/09 16:30:24 jmmv Exp $
+$NetBSD: distinfo,v 1.17 2004/05/22 17:41:31 tron Exp $
SHA1 (ORBit2-2.10.2.tar.bz2) = af49875e0d932d33172a65b376befc933b9c742e
Size (ORBit2-2.10.2.tar.bz2) = 649720 bytes
+SHA1 (patch-aa) = fcaba312cd181e0c60c992a152b54d75c12f1390
diff -r 17443d71d41d -r b7a36b38b937 net/ORBit2/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/net/ORBit2/patches/patch-aa Sat May 22 17:41:31 2004 +0000
@@ -0,0 +1,31 @@
+--- linc2/src/linc-protocols.c.orig 2004-02-02 17:29:05.000000000 +0100
++++ linc2/src/linc-protocols.c 2004-05-22 19:37:12.000000000 +0200
+@@ -21,6 +21,10 @@
+
+ static char *link_tmpdir = NULL;
+
++#if defined(__NetBSD__) && defined(__RES__) && (__RES >= 20030124)
++extern struct __res_state _res;
++#endif
++
+ /*
+ * make_local_tmpdir:
+ * @dirname: directory name.
+@@ -359,7 +363,7 @@
+ int i;
+
+ LINK_RESOLV_UNSET_IPV6;
+-#ifdef HAVE_RESOLV_H
++#if defined(HAVE_RESOLV_H)
+ if (!(_res.options & RES_INIT))
+ res_init();
+ #endif
+@@ -455,7 +459,7 @@
+ return (struct sockaddr *)saddr;
+ #else
+
+-#ifdef HAVE_RESOLV_H
++#if defined(HAVE_RESOLV_H)
+ if (!(_res.options & RES_INIT))
+ res_init();
+ #endif
Home |
Main Index |
Thread Index |
Old Index