From owner-freebsd-perl@FreeBSD.ORG Fri Feb 10 08:28:34 2006 Return-Path: X-Original-To: perl@FreeBSD.org Delivered-To: freebsd-perl@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 403C316A420; Fri, 10 Feb 2006 08:28:34 +0000 (GMT) (envelope-from root@distalzou.net) Received: from mail.distalzou.net (203.141.139.231.user.ad.il24.net [203.141.139.231]) by mx1.FreeBSD.org (Postfix) with ESMTP id C631343D5A; Fri, 10 Feb 2006 08:28:33 +0000 (GMT) (envelope-from root@distalzou.net) Received: from root by mail.distalzou.net with local (Exim 4.60 (FreeBSD)) (envelope-from ) id 1F7Tdo-000JvQ-C6; Fri, 10 Feb 2006 17:28:32 +0900 To: FreeBSD-gnats-submit@freebsd.org From: Tod McQuillin X-send-pr-version: 3.113 X-GNATS-Notify: Message-Id: Date: Fri, 10 Feb 2006 17:28:32 +0900 Cc: perl@FreeBSD.org Subject: [PATCH] www/p5-HTML-Parser: [fix build on 4.x] X-BeenThere: freebsd-perl@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: maintainer of a number of perl-related ports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 08:28:34 -0000 >Submitter-Id: current-users >Originator: Tod McQuillin >Organization: >Confidential: no >Synopsis: [PATCH] www/p5-HTML-Parser: [fix build on 4.x] >Severity: non-critical >Priority: low >Category: ports >Class: change-request >Release: FreeBSD 4.11-STABLE i386 >Environment: System: FreeBSD plexi.pun-pun.prv 4.11-STABLE FreeBSD 4.11-STABLE #0: Thu Dec 15 19:04:55 JST 2005 >Description: Remove recently added C99ism to fix build on 4.x and gcc 2.95. Added file(s): - files/patch-hparser.c Port maintainer (perl@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.63 >How-To-Repeat: >Fix: --- p5-HTML-Parser-3.49_1.patch begins here --- Index: files/patch-hparser.c =================================================================== RCS file: files/patch-hparser.c diff -N files/patch-hparser.c --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ files/patch-hparser.c 10 Feb 2006 08:27:23 -0000 @@ -0,0 +1,24 @@ +--- hparser.c~ Wed Feb 8 19:54:33 2006 ++++ hparser.c Fri Feb 10 17:26:58 2006 +@@ -125,7 +125,7 @@ + dTHX; + dSP; + AV *array; +- STRLEN my_na; ++ STRLEN my_na, offset, line, column; + char *argspec; + char *s; + +@@ -142,9 +142,9 @@ + return; + + /* capture offsets */ +- STRLEN offset = p_state->offset; +- STRLEN line = p_state->line; +- STRLEN column = p_state->column; ++ offset = p_state->offset; ++ line = p_state->line; ++ column = p_state->column; + + #if 0 + { /* used for debugging at some point */ --- p5-HTML-Parser-3.49_1.patch ends here ---