head	1.2;
access;
symbols
	RELEASE_8_3_0:1.2
	RELEASE_9_0_0:1.2
	RELEASE_7_4_0:1.2
	RELEASE_8_2_0:1.2
	RELEASE_6_EOL:1.2
	RELEASE_8_1_0:1.2
	RELEASE_7_3_0:1.2
	RELEASE_8_0_0:1.2
	RELEASE_7_2_0:1.2
	RELEASE_7_1_0:1.2
	RELEASE_6_4_0:1.2
	RELEASE_5_EOL:1.2
	RELEASE_7_0_0:1.2
	RELEASE_6_3_0:1.2
	PRE_XORG_7:1.2
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.2
	RELEASE_5_3_0:1.2
	RELEASE_4_10_0:1.2
	RELEASE_5_2_1:1.2
	RELEASE_5_2_0:1.2
	RELEASE_4_9_0:1.2
	RELEASE_5_1_0:1.2
	RELEASE_4_8_0:1.2
	RELEASE_5_0_0:1.2
	RELEASE_4_7_0:1.2
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1;
locks; strict;
comment	@# @;


1.2
date	2002.07.20.16.49.29;	author naddy;	state Exp;
branches;
next	1.1;

1.1
date	2001.11.22.15.26.43;	author phantom;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Fix build on -CURRENT.

PR:		40810
Submitted by:	Simon 'corecode' Schubert <corecode@@corecode.ath.cx>
@
text
@--- html.h.orig	Fri Aug  4 18:21:05 2000
+++ html.h	Sat Jul 20 16:20:55 2002
@@@@ -4,6 +4,8 @@@@
   See tidy.c for the copyright notice.
 */
 
+#include <sys/types.h>
+
 /* indentation modes */
 
 #define NO_INDENT      0
@@@@ -380,6 +382,7 @@@@
 
 void FatalError(char *msg);
 void FileError(FILE *fp, const char *file);
+int FileExists(const char *file);
 
 Node *GetToken(Lexer *lexer, uint mode);
 
@@@@ -758,6 +761,7 @@@@
 extern Bool Word2000;
 extern Bool Emacs;  /* sasdjb 01May00 GNU Emacs error output format */
 extern Bool LiteralAttribs;
+extern Bool PreserveEntities;
 
 /* Parser methods for tags */
 
@


1.1
log
@Add new option '-preserve' to preserve characters entities from source file
(i.e. leave them undecoded into plain characters). This feature will be utilized
by translation teams and was successfuly tested against Russian and Japanese
Translation Projects.

Also add simple hack to not to display annoying "Can't open ~/.tidyrc" warning
message in case if ~/.tidyrc file missing.

Bump PORTREVISION.

Approved by:    Scott Kenney <saken@@hotel.rmta.org> (maintainer)
Tested by:      myself, hrs
@
text
@d1 12
a12 3
--- html.h.orig	Fri Aug  4 19:21:05 2000
+++ html.h	Mon Nov 19 14:36:54 2001
@@@@ -380,6 +380,7 @@@@
d20 1
a20 1
@@@@ -758,6 +759,7 @@@@
@

