1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-18 03:46:03 +00:00

Add a NOOP -preserve flag as a workaround to build

FreeBSD docs with tidy-devel.

Approved by:	maintainer
This commit is contained in:
Alex Dupre 2004-03-12 21:41:19 +00:00
parent 53eeef062f
commit ff3cf189a1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103818

View File

@ -0,0 +1,12 @@
--- console/tidy.c.orig Sat Mar 6 08:59:12 2004
+++ console/tidy.c Fri Mar 12 18:16:30 2004
@@ -505,6 +505,9 @@
else if ( strcasecmp(arg, "quiet") == 0 )
tidyOptSetBool( tdoc, TidyQuiet, yes );
+ else if ( strcasecmp(arg, "preserve") == 0 ) /* NOOP for docproj */
+ printf( errout, "Warning: tidy-devel does not honour the -preserve flag\n");
+
else if ( strcasecmp(arg, "help") == 0 ||
strcasecmp(arg, "h") == 0 || *arg == '?' )
{