summaryrefslogtreecommitdiff
path: root/net/partysip
diff options
context:
space:
mode:
authordrochner <drochner@pkgsrc.org>2005-09-16 15:24:23 +0000
committerdrochner <drochner@pkgsrc.org>2005-09-16 15:24:23 +0000
commit0769c4ce18d86a8a0b3eacfb143e3b1775f6aa67 (patch)
tree333a766643379fa2cad57783fad9dde3bc81b9b3 /net/partysip
parent7f00eaada918d341e8d3350265651598af8c57c9 (diff)
downloadpkgsrc-0769c4ce18d86a8a0b3eacfb143e3b1775f6aa67.tar.gz
use the BIND4 (?) nameserver interface rather than the new one;
the former is still provided through nameser_compat.h while the latter is not available on older NetBSDs should fix build error seen in the 2.0.2 bulk build
Diffstat (limited to 'net/partysip')
-rw-r--r--net/partysip/distinfo4
-rw-r--r--net/partysip/patches/patch-aa43
2 files changed, 36 insertions, 11 deletions
diff --git a/net/partysip/distinfo b/net/partysip/distinfo
index 3acace77bdd..9ab720f25ec 100644
--- a/net/partysip/distinfo
+++ b/net/partysip/distinfo
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2005/08/11 18:19:14 drochner Exp $
+$NetBSD: distinfo,v 1.3 2005/09/16 15:24:23 drochner Exp $
SHA1 (partysip-2.2.3.tar.gz) = 140e8fc1dc7df52e8f409babebbaf4fcabe213aa
RMD160 (partysip-2.2.3.tar.gz) = 31f24803488a86b00711c924f4327564e960e3b2
Size (partysip-2.2.3.tar.gz) = 568193 bytes
-SHA1 (patch-aa) = 333762c23022dd65c7f7b2b38d907cd69e44d595
+SHA1 (patch-aa) = 2c8bd0c9f782e066d6d4433ade4cb5161a237a4f
SHA1 (patch-ab) = d661caf4c229ba51ec98439ca089dc26e3cdb6e6
diff --git a/net/partysip/patches/patch-aa b/net/partysip/patches/patch-aa
index d380ab78e0b..8e920c966c4 100644
--- a/net/partysip/patches/patch-aa
+++ b/net/partysip/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
+$NetBSD: patch-aa,v 1.2 2005/09/16 15:24:23 drochner Exp $
---- ppl/unix/ppldnsv6.c.orig 2005-04-01 19:42:57.000000000 +0200
+--- ppl/unix/ppldnsv6.c.orig 2005-01-26 17:58:44.000000000 +0100
+++ ppl/unix/ppldnsv6.c
-@@ -314,7 +314,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+@@ -314,41 +314,41 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
cp += n;
@@ -11,7 +11,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
type = _get_short (cp);
cp += sizeof (u_short);
-@@ -324,7 +324,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETSHORT(type, cp);
+ #else
NS_GET16 (type, cp);
#endif
@@ -20,7 +23,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
aclass = _get_short (cp);
cp += sizeof (u_short);
-@@ -334,7 +334,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETSHORT(aclass, cp);
+ #else
NS_GET16 (aclass, cp);
#endif
@@ -29,7 +35,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
ttl = _get_long (cp);
cp += sizeof (u_long);
-@@ -344,7 +344,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETLONG(ttl, cp);
+ #else
NS_GET32 (ttl, cp);
#endif
@@ -38,7 +47,12 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
dlen = _get_short (cp);
cp += sizeof (u_short);
-@@ -359,7 +359,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETSHORT(dlen, cp);
+ #else
+ NS_GET16 (dlen, cp);
+@@ -359,31 +359,31 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
cp += dlen;
continue;
}
@@ -47,7 +61,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
pref = _get_short (cp);
cp += sizeof (u_short);
-@@ -369,7 +369,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETSHORT(pref, cp);
+ #else
NS_GET16 (pref, cp);
#endif
@@ -56,7 +73,10 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
weight = _get_short (cp);
cp += sizeof (u_short);
-@@ -379,7 +379,7 @@ ppl_dns_resolv (ppl_dns_ip_t ** dns_ips,
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETSHORT(weight, cp);
+ #else
NS_GET16 (weight, cp);
#endif
@@ -65,3 +85,8 @@ $NetBSD: patch-aa,v 1.1.1.1 2005/04/01 19:55:02 drochner Exp $
defined(OLD_NAMESER) || defined(__FreeBSD__)
port = _get_short (cp);
cp += sizeof (u_short);
+-#elif defined(__APPLE_CC__)
++#elif defined(__APPLE_CC__) || defined(__NetBSD__)
+ GETSHORT(port, cp);
+ #else
+ NS_GET16 (port, cp);