From fc080e71069ad1aa7b92e445f9e700a4de277d64 Mon Sep 17 00:00:00 2001 From: Pawel Pekala Date: Thu, 29 Oct 2015 22:27:39 +0000 Subject: 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 --- textproc/html2xhtml/files/patch-src-html.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 textproc/html2xhtml/files/patch-src-html.c (limited to 'textproc/html2xhtml/files/patch-src-html.c') diff --git a/textproc/html2xhtml/files/patch-src-html.c b/textproc/html2xhtml/files/patch-src-html.c new file mode 100644 index 000000000000..e843d70477fe --- /dev/null +++ b/textproc/html2xhtml/files/patch-src-html.c @@ -0,0 +1,12 @@ +--- 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 + #include -- cgit v1.2.3