From 180313e90df73da541b68484eb25b3c15c796de2 Mon Sep 17 00:00:00 2001 From: Tilman Keskinoz Date: Sat, 1 Feb 2003 23:24:54 +0000 Subject: Add tidy-devel after Repocopy from www/tidy PR: 46620 Submitted by: Thierry Thomas --- www/tidy-devel/files/patch-af | 37 ------------------------------------- 1 file changed, 37 deletions(-) delete mode 100644 www/tidy-devel/files/patch-af (limited to 'www/tidy-devel/files/patch-af') diff --git a/www/tidy-devel/files/patch-af b/www/tidy-devel/files/patch-af deleted file mode 100644 index 4c9587322849..000000000000 --- a/www/tidy-devel/files/patch-af +++ /dev/null @@ -1,37 +0,0 @@ ---- localize.c.orig Fri Aug 4 19:21:05 2000 -+++ localize.c Mon Nov 19 14:39:38 2001 -@@ -8,6 +8,9 @@ - to localize HTML tidy. - */ - -+#include -+#include -+ - #include "platform.h" - #include "html.h" - -@@ -50,6 +53,16 @@ - tidy_out(fp, "Can't open \"%s\"\n", file); - } - -+int FileExists(const char *file) -+{ -+ struct stat st; -+ -+ if (stat(file, &st) < 0) -+ return (0); -+ else -+ return (1); -+} -+ - static void ReportTag(Lexer *lexer, Node *tag) - { - if (tag) -@@ -736,6 +749,7 @@ - tidy_out(out, " -xml use this when input is wellformed xml\n"); - tidy_out(out, " -asxml to convert html to wellformed xml\n"); - tidy_out(out, " -slides to burst into slides on h2 elements\n"); -+ tidy_out(out, " -preserve to preserve entities from source file\n"); - tidy_out(out, "\n"); - - tidy_out(out, "Character encodings\n"); -- cgit v1.2.3