svn commit: r432965 - in head/textproc/htmldoc: . files
Jan Beich
jbeich at FreeBSD.org
Wed Feb 1 05:24:21 UTC 2017
Author: jbeich
Date: Wed Feb 1 05:24:20 2017
New Revision: 432965
URL: https://svnweb.freebsd.org/changeset/ports/432965
Log:
textproc/htmldoc: unbreak with clang 4.0
htmlsep.cxx:527:19: error: ordered comparison between pointer and zero ('int *' and 'int')
if (heading >= 0)
~~~~~~~ ^ ~
PR: 216159
Reported by: antoine (via exp-run)
Approved by: portmgr blanket
Added:
head/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx (contents, props changed)
Modified:
head/textproc/htmldoc/Makefile (contents, props changed)
Modified: head/textproc/htmldoc/Makefile
==============================================================================
--- head/textproc/htmldoc/Makefile Wed Feb 1 01:58:10 2017 (r432964)
+++ head/textproc/htmldoc/Makefile Wed Feb 1 05:24:20 2017 (r432965)
@@ -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}
Added: head/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx Wed Feb 1 05:24:20 2017 (r432965)
@@ -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) ++;
More information about the svn-ports-head
mailing list