Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Feb 2006 17:28:32 +0900
From:      Tod McQuillin <devin@spamcop.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        perl@FreeBSD.org
Subject:   ports/93122: [PATCH] www/p5-HTML-Parser: [fix build on 4.x]
Message-ID:  <E1F7Tdo-000JvQ-C6@mail.distalzou.net>
Resent-Message-ID: <200602100830.k1A8U9PS059727@freefall.freebsd.org>

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

>Number:         93122
>Category:       ports
>Synopsis:       [PATCH] www/p5-HTML-Parser: [fix build on 4.x]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 10 08:30:08 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Tod McQuillin
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
>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 ---

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?E1F7Tdo-000JvQ-C6>