Bug 230946 - devel/kcachegrind-kde4: fails to build with clang 7
Summary: devel/kcachegrind-kde4: fails to build with clang 7
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: freebsd-kde (group)
URL:
Keywords: needs-patch
Depends on:
Blocks: 230355
  Show dependency treegraph
 
Reported: 2018-08-27 14:28 UTC by Jan Beich
Modified: 2018-09-07 10:10 UTC (History)
2 users (show)

See Also:
tcberner: maintainer-feedback+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer freebsd_triage 2018-08-27 14:28:14 UTC
$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https
$ poudriere testport -j clang7 devel/kcachegrind-kde4
[...]
libcore/tracedata.cpp:3262:30: error: ordered comparison between pointer and zero ('const void *' and 'int')
    if (_parts.contains(part)>0) return;
        ~~~~~~~~~~~~~~~~~~~~~^~

http://package18.nyi.freebsd.org/data/headamd64PR230355gnucxx98-default/2018-08-26_10h16m34s/logs/errors/kcachegrind-kde4-4.14.3_4.log
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-08-27 21:24:47 UTC
A commit references this bug:

Author: adridg
Date: Mon Aug 27 21:24:32 UTC 2018
New revision: 478255
URL: https://svnweb.freebsd.org/changeset/ports/478255

Log:
  Fix EOL devel/kcachegrind-kde4.

  Users are encouraged to move to modern devel/kcachegrind (KF5-based).

  PR:		230946
  Reported by:	jbeich

Changes:
  head/devel/kcachegrind-kde4/files/
  head/devel/kcachegrind-kde4/files/patch-libcore_tracedata.cpp