Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Sep 2018 20:52:09 +0000 (UTC)
From:      Adriaan de Groot <adridg@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r478729 - head/deskutils/kdepim-kde4/files
Message-ID:  <201809012052.w81Kq95Q081553@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: adridg
Date: Sat Sep  1 20:52:09 2018
New Revision: 478729
URL: https://svnweb.freebsd.org/changeset/ports/478729

Log:
  Fix build with clang7
  
  By now I think I'm ahead of jbeich in finding clang7 failures
  within the KDE4 stack (which is deprecated and will be removed
  anyway 2018-12-31, but probably not before clang7 happens).

Added:
  head/deskutils/kdepim-kde4/files/patch-knode_knfiltermanager.cpp   (contents, props changed)

Added: head/deskutils/kdepim-kde4/files/patch-knode_knfiltermanager.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/deskutils/kdepim-kde4/files/patch-knode_knfiltermanager.cpp	Sat Sep  1 20:52:09 2018	(r478729)
@@ -0,0 +1,11 @@
+--- knode/knfiltermanager.cpp.orig	2018-09-01 19:13:40 UTC
++++ knode/knfiltermanager.cpp
+@@ -201,7 +201,7 @@ void KNFilterManager::addFilter(KNArticleFilter *f)
+     foreach ( KNArticleFilter *filter, mFilterList )
+       activeFilters << filter->id();
+     int newId = 1;
+-    while ( activeFilters.contains( newId ) > 0 )
++    while ( bool(activeFilters.contains( newId )) )
+       newId++;
+     f->setId( newId );
+   }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201809012052.w81Kq95Q081553>