Skip site navigation (1)Skip section navigation (2)
Date:      2 May 2010 16:31:34 -0000
From:      Thomas-Martin Seck <tmseck@web.de>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/146242: [Maintainer] www/squid30: fix for Squid bug 2899
Message-ID:  <20100502163134.6283.qmail@wcfields.tmseck.homedns.org>
Resent-Message-ID: <201005021640.o42GeD8a049521@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         146242
>Category:       ports
>Synopsis:       [Maintainer] www/squid30: fix for Squid bug 2899
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun May 02 16:40:13 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Thomas-Martin Seck
>Release:        FreeBSD 8.0-RELEASE amd64
>Organization:
a private site in Germany
>Environment:
FreeBSD ports collection as of May 2, 2010.

	
>Description:
- integrate a patch for squid bug 2899 that could cause compilation
  issues on certain platforms
	
>How-To-Repeat:
	
>Fix:
Apply this patch:

Index: Makefile
===================================================================
--- Makefile	(.../www/squid30)	(Revision 1831)
+++ Makefile	(.../local/squid30)	(Revision 1831)
@@ -61,7 +61,7 @@
 
 PORTNAME=	squid
 PORTVERSION=	3.0.${SQUID_STABLE_VER}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	www
 MASTER_SITES=	ftp://ftp.squid-cache.org/pub/%SUBDIR%/ \
 		http://mirrors.ccs.neu.edu/Squid/ \
Index: files/patch-lib-rfc1738.c
===================================================================
--- files/patch-lib-rfc1738.c	(.../www/squid30)	(Revision 0)
+++ files/patch-lib-rfc1738.c	(.../local/squid30)	(Revision 1831)
@@ -0,0 +1,12 @@
+--- lib/rfc1738.c.orig	2010-04-16 14:36:23.000000000 +0200
++++ lib/rfc1738.c	2010-04-16 14:37:11.000000000 +0200
+@@ -203,8 +203,7 @@ rfc1738_unescape(char *s)
+             j++;		/* Skip % */
+         } else {
+             /* decode */
+-            char v1, v2;
+-            int x;
++            int v1, v2, x;
+             v1 = fromhex(s[j + 1]);
+             if (v1 < 0)
+                 continue;  /* non-hex or \0 */

	


>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100502163134.6283.qmail>