summaryrefslogtreecommitdiff
path: root/misc/kdepim4
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-05-14 19:19:56 +0000
committerjoerg <joerg@pkgsrc.org>2020-05-14 19:19:56 +0000
commitbcd6522f6df233680c632c731f9c4f0aeef06c3f (patch)
tree15c8fb111eade18e7fbf5d527665dc35457f0c81 /misc/kdepim4
parent328021307623a7fbc8ad72461cfe577b67000cb0 (diff)
downloadpkgsrc-bcd6522f6df233680c632c731f9c4f0aeef06c3f.tar.gz
Don't order pointers relative to 0.
Diffstat (limited to 'misc/kdepim4')
-rw-r--r--misc/kdepim4/distinfo4
-rw-r--r--misc/kdepim4/patches/patch-knode_knfiltermanager.cpp13
-rw-r--r--misc/kdepim4/patches/patch-korganizer_kodaymatrix.cpp13
3 files changed, 29 insertions, 1 deletions
diff --git a/misc/kdepim4/distinfo b/misc/kdepim4/distinfo
index 7b2d8efcb79..5160690b974 100644
--- a/misc/kdepim4/distinfo
+++ b/misc/kdepim4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.22 2016/01/10 19:33:43 markd Exp $
+$NetBSD: distinfo,v 1.23 2020/05/14 19:19:56 joerg Exp $
SHA1 (kdepim-4.14.10.tar.xz) = 6f74763dda68dbb44394e807eab9204777bddf0a
RMD160 (kdepim-4.14.10.tar.xz) = a9ba786e76ad0fe44bff5298a413aca514dbca82
@@ -7,4 +7,6 @@ Size (kdepim-4.14.10.tar.xz) = 14585020 bytes
SHA1 (patch-ad) = 9c7fbc7223b74cafc30626a024b0177d9e80ad8f
SHA1 (patch-kleopatra_newcertificatewizard_newcertificatewizard.cpp) = 9769a802e6900f37d2720df35a5c9bc2beb0de79
SHA1 (patch-kleopatra_smartcard_readerstatus.cpp) = a1e60b97f75f3490873df0dd53bed7d5302eba48
+SHA1 (patch-knode_knfiltermanager.cpp) = 417c1486fd25acc206ec977effeb48ed0f1b4703
+SHA1 (patch-korganizer_kodaymatrix.cpp) = 904cf60aace38ba618f33ab609b4bffa09fec1c2
SHA1 (patch-libkleo_kleo_stl_util.h) = 3ea5fdeab6a323ca63ccbb7791f3020db04d9dfd
diff --git a/misc/kdepim4/patches/patch-knode_knfiltermanager.cpp b/misc/kdepim4/patches/patch-knode_knfiltermanager.cpp
new file mode 100644
index 00000000000..5997a34ab54
--- /dev/null
+++ b/misc/kdepim4/patches/patch-knode_knfiltermanager.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-knode_knfiltermanager.cpp,v 1.1 2020/05/14 19:19:56 joerg Exp $
+
+--- knode/knfiltermanager.cpp.orig 2020-05-12 20:24:40.606084249 +0000
++++ knode/knfiltermanager.cpp
+@@ -201,7 +201,7 @@ void KNFilterManager::addFilter(KNArticl
+ foreach ( KNArticleFilter *filter, mFilterList )
+ activeFilters << filter->id();
+ int newId = 1;
+- while ( activeFilters.contains( newId ) > 0 )
++ while ( activeFilters.contains( newId ) )
+ newId++;
+ f->setId( newId );
+ }
diff --git a/misc/kdepim4/patches/patch-korganizer_kodaymatrix.cpp b/misc/kdepim4/patches/patch-korganizer_kodaymatrix.cpp
new file mode 100644
index 00000000000..11db0a936b3
--- /dev/null
+++ b/misc/kdepim4/patches/patch-korganizer_kodaymatrix.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-korganizer_kodaymatrix.cpp,v 1.1 2020/05/14 19:19:56 joerg Exp $
+
+--- korganizer/kodaymatrix.cpp.orig 2020-05-12 20:03:31.118147634 +0000
++++ korganizer/kodaymatrix.cpp
+@@ -862,7 +862,7 @@ void KODayMatrix::paintEvent( QPaintEven
+ p.setPen( actcol );
+ }
+ // reset bold font to plain font
+- if ( mEvents.contains( mDays[i] ) > 0 ) {
++ if ( mEvents.contains( mDays[i] ) ) {
+ QFont myFont = font();
+ myFont.setBold( false );
+ p.setFont( myFont );