Bug 230941 - deskutils/kdepim-kde4: fails to build with clang 7
Summary: deskutils/kdepim-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: kde
URL:
Keywords: needs-patch
Depends on:
Blocks: 230355
  Show dependency treegraph
 
Reported: 2018-08-27 14:19 UTC by Jan Beich
Modified: 2018-09-02 19:58 UTC (History)
2 users (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 2018-08-27 14:19:41 UTC
$ poudriere jail -cj clang7 -a amd64 -v projects/clang700-import -m svn+https
$ poudriere testport -j clang7 deskutils/kdepim-kde4
[...]
korganizer/kodaymatrix.cpp:865:39: error: ordered comparison between pointer and zero ('const void *' and 'int')
    if ( mEvents.contains( mDays[i] ) > 0 ) {
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^ ~

http://package18.nyi.freebsd.org/data/headamd64PR230355gnucxx98-default/2018-08-26_10h16m34s/logs/errors/kdepim-kde4-4.14.10_15.log
Comment 1 commit-hook freebsd_committer 2018-08-30 09:57:35 UTC
A commit references this bug:

Author: adridg
Date: Thu Aug 30 09:57:20 UTC 2018
New revision: 478439
URL: https://svnweb.freebsd.org/changeset/ports/478439

Log:
  Fix build with clang7.

  PR:		230941
  Reported by:	jbeich

Changes:
  head/deskutils/kdepim-kde4/files/patch-korganizer_kodaymatrix.cpp
Comment 2 Walter Schwarzenfeld freebsd_triage 2018-09-02 00:46:48 UTC
There is another commit for it:
https://svnweb.freebsd.org/ports?view=revision&revision=478729
Comment 3 Adriaan de Groot freebsd_committer 2018-09-02 19:58:22 UTC
Built successfully on 12- with the clang7 branch after that second commit.