ports/textproc/html2xhtml/files/patch-src-html.c
Pawel Pekala fc080e7106 html2xhtml converts HTML files into XHTML. It can fix many common
errors in HTML files (e.g. missing end tags, elements with incorrect
content model, non-standard elements or attributes, etc.) It can
also handle invalid or non well-formed XHTML input, and clean it
to produce a well-formed and valid XHTML output. The output document
type can be selected among several XHTML DTDs (1.0, 1.1, Basic, etc.)

WWW: http://www.it.uc3m.es/jaf/html2xhtml

PR:		203854
Submitted by:	wilfried.meindl@gmail.com
2015-10-29 22:27:39 +00:00

12 lines
299 B
C

--- src/html.c.orig 2015-08-19 11:12:02 UTC
+++ src/html.c
@@ -866,9 +866,6 @@ int yy_flex_debug = 0;
char *yytext;
#line 1 "html.l"
#line 4 "html.l"
-#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
-extern int fileno(FILE *file);
-#endif
#include <stdio.h>
#include <string.h>