diff options
author | Pawel Pekala <pawel@FreeBSD.org> | 2015-10-29 22:27:39 +0000 |
---|---|---|
committer | Pawel Pekala <pawel@FreeBSD.org> | 2015-10-29 22:27:39 +0000 |
commit | fc080e71069ad1aa7b92e445f9e700a4de277d64 (patch) | |
tree | 292db749140b4e45acf9674aa819d9b96d5e09e9 /textproc/html2xhtml/files/patch-src-html.c | |
parent | Include header for stderr to allow the build with gcc 4.9. (diff) |
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
Notes
Notes:
svn path=/head/; revision=400483
Diffstat (limited to 'textproc/html2xhtml/files/patch-src-html.c')
-rw-r--r-- | textproc/html2xhtml/files/patch-src-html.c | 12 |
1 files changed, 12 insertions, 0 deletions
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 <stdio.h> + #include <string.h> |