From owner-svn-ports-all@freebsd.org Wed Feb 1 05:24:21 2017 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id ACF57CCEF7A; Wed, 1 Feb 2017 05:24:21 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 79479670; Wed, 1 Feb 2017 05:24:21 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v115OKnM086188; Wed, 1 Feb 2017 05:24:20 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v115OKig086186; Wed, 1 Feb 2017 05:24:20 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201702010524.v115OKig086186@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 1 Feb 2017 05:24:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r432965 - in head/textproc/htmldoc: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Feb 2017 05:24:21 -0000 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) ++;