Bug 216159 - textproc/htmldoc: fails to build with clang 4.0 (8 ports skipped)
Summary: textproc/htmldoc: fails to build with clang 4.0 (8 ports skipped)
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords: needs-patch
Depends on:
Blocks: 216008
  Show dependency treegraph
 
Reported: 2017-01-17 07:59 UTC by Jan Beich
Modified: 2017-02-01 13:03 UTC (History)
1 user (show)

See Also:


Attachments
v0 (1.55 KB, patch)
2017-01-20 11:43 UTC, Jan Beich
jbeich: maintainer-approval? (jose)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2017-01-17 07:59:42 UTC
htmlsep.cxx:527:19: error: ordered comparison between pointer and zero ('int *' and 'int')
      if (heading >= 0)
          ~~~~~~~ ^  ~

build log: http://sprunge.us/Ahdf
regressed by: https://github.com/llvm-mirror/clang/commit/4b6ad14285f3
Comment 1 Jan Beich freebsd_committer 2017-01-20 11:43:37 UTC
Created attachment 179133 [details]
v0
Comment 2 commit-hook freebsd_committer 2017-02-01 05:24:56 UTC
A commit references this bug:

Author: jbeich
Date: Wed Feb  1 05:24:20 UTC 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

Changes:
  head/textproc/htmldoc/Makefile
  head/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx
Comment 3 commit-hook freebsd_committer 2017-02-01 13:03:32 UTC
A commit references this bug:

Author: jbeich
Date: Wed Feb  1 13:02:34 UTC 2017
New revision: 433030
URL: https://svnweb.freebsd.org/changeset/ports/433030

Log:
  MFH: r432965

  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
  Approved by:	ports-secteam blanket

Changes:
_U  branches/2017Q1/
  branches/2017Q1/textproc/htmldoc/Makefile
  branches/2017Q1/textproc/htmldoc/files/patch-htmldoc_htmlsep.cxx