1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00
freebsd-ports/devel/ecgi/files/patch-html2h_html2h.c
John Marino 9e56b671c8 Resurrect devel/ecgi with stage support
The port had been essentially unmaintained since 2006 and was removed
three years ago.  It needs some TLC to bring it up to modern standards.
Pass maintainership to submitter.

PR:		189010
Submitted by:	Chris Hutchinson
Add'l fixes by:	marino
2014-06-14 10:11:01 +00:00

30 lines
655 B
C

--- html2h/html2h.c.orig 2014-04-26 08:44:43.000000000 +0000
+++ html2h/html2h.c
@@ -6,15 +6,10 @@
void usage()
{
- printf("
-html2h v0.1
-usage:
- html2h input.html [output.h]
-
- if output is not set, input.h will be generated and overwritten!
-
- debug messages are written to stderr!
-
+ printf("html2h v0.1\nusage:\n \
+ html2h input.html [output.h]\n\n \
+ if output is not set, input.h will be generated and overwritten!\n\n \
+ debug messages are written to stderr!\n\n \
");
exit(0);
@@ -415,4 +410,4 @@ void pexit(char *msg, const char *commen
{
fprintf(stderr, "%s%s\n", msg, comment);
exit(1);
-}
\ No newline at end of file
+}