aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorale <ale@FreeBSD.org>2004-03-13 05:41:19 +0800
committerale <ale@FreeBSD.org>2004-03-13 05:41:19 +0800
commit36046d813419838121a9b6d11028093291c79dd8 (patch)
treee8ae5f73d7693b309f8565de40f1a172609e9bb1 /www
parentce9158cc417aa3ea2f2aaac37c0a706aa350c4f4 (diff)
downloadfreebsd-ports-gnome-36046d813419838121a9b6d11028093291c79dd8.tar.gz
freebsd-ports-gnome-36046d813419838121a9b6d11028093291c79dd8.tar.zst
freebsd-ports-gnome-36046d813419838121a9b6d11028093291c79dd8.zip
Add a NOOP -preserve flag as a workaround to build
FreeBSD docs with tidy-devel. Approved by: maintainer
Diffstat (limited to 'www')
-rw-r--r--www/tidy-devel/files/patch-console::tidy.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/www/tidy-devel/files/patch-console::tidy.c b/www/tidy-devel/files/patch-console::tidy.c
new file mode 100644
index 000000000000..f3cc84f4d257
--- /dev/null
+++ b/www/tidy-devel/files/patch-console::tidy.c
@@ -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 == '?' )
+ {