@@ -, +, @@ --- textproc/htmldoc/Makefile | 2 +- textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx | 11 +++++++++++ 2 files changed, 12 insertions(+), 1 deletion(-) create mode 100644 textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx --- b/textproc/htmldoc/Makefile +++ b/textproc/htmldoc/Makefile @@ -3,7 +3,7 @@ PORTNAME= htmldoc PORTVERSION= 1.8.28 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= textproc MASTER_SITES= http://www.msweet.org/files/project1/ \ EASYSW/${PORTNAME}/${PORTVERSION} --- /dev/null +++ b/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx @@ -0,0 +1,11 @@ +--- htmldoc/htmlsep.cxx.orig 2013-08-09 13:43:34 UTC ++++ htmldoc/htmlsep.cxx +@@ -524,7 +524,7 @@ write_doc(FILE **out, // I - Output + if (t->markup >= MARKUP_H1 && t->markup < (MARKUP_H1 + TocLevels) && + htmlGetVariable(t, (uchar *)"_HD_OMIT_TOC") == NULL) + { +- if (heading >= 0) ++ if (*heading >= 0) + write_footer(out, *heading); + + (*heading) ++;