Bug 230947 - japanese/kiten-kde4: fails to build with clang 7
Summary: japanese/kiten-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 (Team)
Keywords: needs-patch
Depends on:
Blocks: 230355
  Show dependency treegraph
Reported: 2018-08-27 14:30 UTC by Jan Beich
Modified: 2018-09-07 10:04 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (kde)


Note You need to log in before you can comment on or make changes to this bug.
Description Jan Beich freebsd_committer 2018-08-27 14:30:06 UTC
$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https
$ poudriere testport -j clang7 japanese/kiten-kde4
lib/dictquery.cpp:462:40: error: ordered comparison between pointer and zero ('const void *' and 'int')
  return d->entryOrder.contains( key ) > 0;
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

Comment 1 commit-hook freebsd_committer 2018-08-27 21:20:43 UTC
A commit references this bug:

Author: adridg
Date: Mon Aug 27 21:19:57 UTC 2018
New revision: 478254
URL: https://svnweb.freebsd.org/changeset/ports/478254

  Fix build of EOL software against modern clang.

  Lots of KDE4 software contains this strange > 0 comparison for bools,
  fix japanese/kiten-kde4 here.

  PR:		230947
  Reported by:	jbeich