diff options
author | wiz <wiz@pkgsrc.org> | 2009-06-14 08:33:21 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2009-06-14 08:33:21 +0000 |
commit | 8f5867f4054bded180e899125a89698d26a4292d (patch) | |
tree | bef005313616c5ecdc0c0e3f9cd10de881e1391d | |
parent | 1e33219f739e475650cd63d61fb918d5d695b733 (diff) | |
download | pkgsrc-8f5867f4054bded180e899125a89698d26a4292d.tar.gz |
Fix problem reported in PR 40465 by Petar Bogdanovic.
Bump PKGREVISION.
-rw-r--r-- | www/analog/Makefile | 4 | ||||
-rw-r--r-- | www/analog/distinfo | 4 | ||||
-rw-r--r-- | www/analog/patches/patch-ac | 4 |
3 files changed, 6 insertions, 6 deletions
diff --git a/www/analog/Makefile b/www/analog/Makefile index 768385d0bd0..b284b8e3407 100644 --- a/www/analog/Makefile +++ b/www/analog/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.59 2009/05/01 15:09:17 zafer Exp $ +# $NetBSD: Makefile,v 1.60 2009/06/14 08:33:21 wiz Exp $ DISTNAME= analog-6.0 -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= www MASTER_SITES= ${HOMEPAGE} \ http://www.web42.com/analog/ \ diff --git a/www/analog/distinfo b/www/analog/distinfo index 71adb7ef131..4d80ff59e96 100644 --- a/www/analog/distinfo +++ b/www/analog/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.23 2007/10/19 15:55:57 hira Exp $ +$NetBSD: distinfo,v 1.24 2009/06/14 08:33:21 wiz Exp $ SHA1 (analog-6.0.tar.gz) = 17ad601f84e73c940883fb9b9e805879aac37493 RMD160 (analog-6.0.tar.gz) = 75c6157d2ac1459ee28a90001787382f5b671dca Size (analog-6.0.tar.gz) = 1553316 bytes SHA1 (patch-aa) = dc65dc097131572251f6e1490e3336c21ee53ee7 SHA1 (patch-ab) = e59f91bedf08f4ece6b36ee06bc8d7d7742948c4 -SHA1 (patch-ac) = 9079c4f700637b06b092abe3204bb61b1df5b5ed +SHA1 (patch-ac) = 389f46758838c353e38f68f44d24330bef473278 diff --git a/www/analog/patches/patch-ac b/www/analog/patches/patch-ac index 2b7d8ff259d..eda4f1776f4 100644 --- a/www/analog/patches/patch-ac +++ b/www/analog/patches/patch-ac @@ -1,4 +1,4 @@ -$NetBSD: patch-ac,v 1.6 2007/10/19 03:51:51 taca Exp $ +$NetBSD: patch-ac,v 1.7 2009/06/14 08:33:21 wiz Exp $ --- alias.c.orig Sun Dec 19 22:51:30 2004 +++ alias.c @@ -56,7 +56,7 @@ $NetBSD: patch-ac,v 1.6 2007/10/19 03:51:51 taca Exp $ + if (getaddrinfo(name, NULL, &hints, &res) == 0 && res != NULL) { + if (res->ai_addr != NULL && res->ai_addrlen > 0 && + getnameinfo(res->ai_addr, res->ai_addrlen, host, sizeof(host), -+ NULL, 0, NI_NAMEREQD) == 0) { ++ NULL, 0, NI_NAMEREQD) == 0 && host[0] != '\0') { + strncpy(name, host, BLOCKSIZE - 1); + name[BLOCKSIZE - 1] = '\0'; + done = TRUE; |