mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-17 03:25:46 +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:
parent
53eeef062f
commit
ff3cf189a1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=103818
12
www/tidy-devel/files/patch-console::tidy.c
Normal file
12
www/tidy-devel/files/patch-console::tidy.c
Normal 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 == '?' )
|
||||
{
|
Loading…
Reference in New Issue
Block a user