[PATCH] www/p5-HTML-Parser: [fix build on 4.x]
Tod McQuillin
devin at spamcop.net
Fri Feb 10 00:28:34 PST 2006
>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 at 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 ---
More information about the freebsd-perl
mailing list