pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/www/privoxy Squash one pkglint warning.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bed674de9a1b
branches:  trunk
changeset: 556976:bed674de9a1b
user:      mjl <mjl%pkgsrc.org@localhost>
date:      Tue Apr 07 14:02:06 2009 +0000

description:
Squash one pkglint warning.
Fix oversight in dns patch.

diffstat:

 www/privoxy/Makefile         |   4 ++--
 www/privoxy/distinfo         |   4 ++--
 www/privoxy/patches/patch-ag |  10 +++++-----
 3 files changed, 9 insertions(+), 9 deletions(-)

diffs (68 lines):

diff -r d39ffe5ef27c -r bed674de9a1b www/privoxy/Makefile
--- a/www/privoxy/Makefile      Tue Apr 07 13:20:14 2009 +0000
+++ b/www/privoxy/Makefile      Tue Apr 07 14:02:06 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2009/04/07 00:21:46 mjl Exp $
+# $NetBSD: Makefile,v 1.39 2009/04/07 14:02:06 mjl Exp $
 #
 
 DISTNAME=      ${PKGNAME_NOREV}-stable-src
@@ -61,7 +61,7 @@
 SUBST_STAGE.paths=     post-patch
 
 pre-configure:
-       @cd ${WRKSRC} && autoheader && autoconf
+       cd ${WRKSRC} && autoheader && autoconf
 
 post-install:
        ${CHOWN} -R ${ROOT_USER}:${ROOT_GROUP} ${EGDIR}
diff -r d39ffe5ef27c -r bed674de9a1b www/privoxy/distinfo
--- a/www/privoxy/distinfo      Tue Apr 07 13:20:14 2009 +0000
+++ b/www/privoxy/distinfo      Tue Apr 07 14:02:06 2009 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.12 2009/04/07 00:21:46 mjl Exp $
+$NetBSD: distinfo,v 1.13 2009/04/07 14:02:06 mjl Exp $
 
 SHA1 (privoxy-3.0.12-stable-src.tar.gz) = 1118d6a7b4980f26c9ad0902c0e6af5aaaf1a640
 RMD160 (privoxy-3.0.12-stable-src.tar.gz) = 32509b897e073f1cc100b8a4a157d19a219b51cd
 Size (privoxy-3.0.12-stable-src.tar.gz) = 1811124 bytes
 SHA1 (patch-aa) = c263d2a4b9522a33613f82ab2bc18d5c2b554b21
 SHA1 (patch-ac) = e39ffe694462b952c5ad66ac577a0acbee0a1d9f
-SHA1 (patch-ag) = 9ec6d971382f145d11c5f6e0d13381fdfe3cd31f
+SHA1 (patch-ag) = fea1c2ef70a99ab6da3feab22c69f3b98c0e75d0
diff -r d39ffe5ef27c -r bed674de9a1b www/privoxy/patches/patch-ag
--- a/www/privoxy/patches/patch-ag      Tue Apr 07 13:20:14 2009 +0000
+++ b/www/privoxy/patches/patch-ag      Tue Apr 07 14:02:06 2009 +0000
@@ -1,7 +1,7 @@
-$NetBSD: patch-ag,v 1.1 2009/04/07 00:21:47 mjl Exp $
+$NetBSD: patch-ag,v 1.2 2009/04/07 14:02:06 mjl Exp $
 
---- jbsockets.c.orig   2009-03-31 14:08:54.000000000 +0200
-+++ jbsockets.c        2009-03-31 14:36:35.000000000 +0200
+--- jbsockets.c.orig   2008-12-20 15:53:55.000000000 +0100
++++ jbsockets.c        2009-04-07 15:54:10.000000000 +0200
 @@ -945,6 +945,14 @@
     struct sockaddr_in inaddr;
     struct hostent *hostp;
@@ -17,7 +17,7 @@
  #if defined(HAVE_GETHOSTBYNAME_R_6_ARGS) || defined(HAVE_GETHOSTBYNAME_R_5_ARGS) || defined(HAVE_GETHOSTBYNAME_R_3_ARGS)
     struct hostent result;
  #if defined(HAVE_GETHOSTBYNAME_R_6_ARGS) || defined(HAVE_GETHOSTBYNAME_R_5_ARGS)
-@@ -995,7 +1003,39 @@
+@@ -995,6 +1003,39 @@
        {
           hostp = NULL;
        }
@@ -27,6 +27,7 @@
 +      struct addrinfo *resp = NULL;
 +      struct addrinfo hints;
 +
++      hostp = NULL;
 +      memset(&hints, '\0', sizeof(struct addrinfo));
 +      hints.ai_family = AF_INET;
 +
@@ -56,4 +57,3 @@
  #elif FEATURE_PTHREAD
        privoxy_mutex_lock(&resolver_mutex);
        while (NULL == (hostp = gethostbyname(host))
-              && (h_errno == TRY_AGAIN) && (dns_retries++ < MAX_DNS_RETRIES))



Home | Main Index | Thread Index | Old Index