Bug 230938 - games/kolf-kde4: fails to build with clang 7
Summary: games/kolf-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:04 UTC by Jan Beich
Modified: 2018-08-31 08:08 UTC (History)
1 user (show)

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


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:04:29 UTC
$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https
$ poudriere testport -j clang7 games/kolf-kde4
[...]
newgame.cpp:288:31: error: ordered comparison between pointer and zero ('const void *' and 'int')
                if (names.contains(*fileIt) > 0)
                    ~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

http://package18.nyi.freebsd.org/data/headamd64PR230355gnucxx98-default/2018-08-26_10h16m34s/logs/errors/kolf-kde4-4.14.3_4.log
Comment 1 commit-hook freebsd_committer freebsd_triage 2018-08-29 20:49:51 UTC
A commit references this bug:

Author: adridg
Date: Wed Aug 29 20:49:03 UTC 2018
New revision: 478418
URL: https://svnweb.freebsd.org/changeset/ports/478418

Log:
  Clang7 fixes for some old soon-to-be-deprecated KDE4 games.

  PR:		230938 230942
  Reported by:	jbeich

Changes:
  head/games/kolf-kde4/files/
  head/games/kolf-kde4/files/patch-kcomboboxdialog.cpp
  head/games/kolf-kde4/files/patch-newgame.cpp
  head/games/ksirk-kde4/files/
  head/games/ksirk-kde4/files/patch-ksirk_iris_src_xmpp_xmpp-im_filetransfer.cpp