pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/misc/superkaramba



Module Name:    pkgsrc
Committed By:   joerg
Date:           Thu May 14 19:20:17 UTC 2020

Modified Files:
        pkgsrc/misc/superkaramba: distinfo
Added Files:
        pkgsrc/misc/superkaramba/patches: patch-src_sensors_rss.cpp
            patch-src_taskmanager.cpp

Log Message:
Order of pointers and 0 is undefined.


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/misc/superkaramba/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/misc/superkaramba/patches/patch-src_sensors_rss.cpp \
    pkgsrc/misc/superkaramba/patches/patch-src_taskmanager.cpp

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/misc/superkaramba/distinfo
diff -u pkgsrc/misc/superkaramba/distinfo:1.11 pkgsrc/misc/superkaramba/distinfo:1.12
--- pkgsrc/misc/superkaramba/distinfo:1.11      Sun Jan 10 19:27:41 2016
+++ pkgsrc/misc/superkaramba/distinfo   Thu May 14 19:20:17 2020
@@ -1,7 +1,9 @@
-$NetBSD: distinfo,v 1.11 2016/01/10 19:27:41 markd Exp $
+$NetBSD: distinfo,v 1.12 2020/05/14 19:20:17 joerg Exp $
 
 SHA1 (superkaramba-15.08.3.tar.xz) = 930ee6e49c75723b9b22359f35911aefdb382183
 RMD160 (superkaramba-15.08.3.tar.xz) = c103f83df8e8e4b320c8fbee0711995aa8c3fc27
 SHA512 (superkaramba-15.08.3.tar.xz) = 4e00d1a783330eea15f32394c26a64e66ddabd63d84cdc61ec6df1c14311e93ab3b40439ce63d38234330f6ffda5ab447d4c6da119c1bf68146caaa6be02025b
 Size (superkaramba-15.08.3.tar.xz) = 381808 bytes
 SHA1 (patch-src_sensors_mem.cpp) = b95cf1c87821e0f01828646d4a23d46fa0368a02
+SHA1 (patch-src_sensors_rss.cpp) = 6775acda306fde5787b876e95efc2a700e71eb18
+SHA1 (patch-src_taskmanager.cpp) = 05245219553fba5e60ed45359fc80023eb6593d7

Added files:

Index: pkgsrc/misc/superkaramba/patches/patch-src_sensors_rss.cpp
diff -u /dev/null pkgsrc/misc/superkaramba/patches/patch-src_sensors_rss.cpp:1.1
--- /dev/null   Thu May 14 19:20:17 2020
+++ pkgsrc/misc/superkaramba/patches/patch-src_sensors_rss.cpp  Thu May 14 19:20:17 2020
@@ -0,0 +1,13 @@
+$NetBSD: patch-src_sensors_rss.cpp,v 1.1 2020/05/14 19:20:17 joerg Exp $
+
+--- src/sensors/rss.cpp.orig   2020-05-13 22:19:59.121304123 +0000
++++ src/sensors/rss.cpp
+@@ -79,7 +79,7 @@ void RssSensor::update()
+             if (!n.isNull()) {
+                 QDomNodeList links = docElem.elementsByTagName("link");
+                 QDomNodeList displays;
+-                if (format.contains("%d", Qt::CaseInsensitive) > 0) {
++                if (format.contains("%d", Qt::CaseInsensitive)) {
+                     displays = docElem.elementsByTagName("description");
+                 } else {
+                     displays = docElem.elementsByTagName("title");
Index: pkgsrc/misc/superkaramba/patches/patch-src_taskmanager.cpp
diff -u /dev/null pkgsrc/misc/superkaramba/patches/patch-src_taskmanager.cpp:1.1
--- /dev/null   Thu May 14 19:20:17 2020
+++ pkgsrc/misc/superkaramba/patches/patch-src_taskmanager.cpp  Thu May 14 19:20:17 2020
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_taskmanager.cpp,v 1.1 2020/05/14 19:20:17 joerg Exp $
+
+--- src/taskmanager.cpp.orig   2020-05-13 22:17:09.187513832 +0000
++++ src/taskmanager.cpp
+@@ -908,10 +908,10 @@ bool Task::idMatch(const QString& id1, c
+     if (id1.isEmpty() || id2.isEmpty())
+         return false;
+ 
+-    if (id1.contains(id2) > 0)
++    if (id1.contains(id2))
+         return true;
+ 
+-    if (id2.contains(id1) > 0)
++    if (id2.contains(id1))
+         return true;
+ 
+     return false;



Home | Main Index | Thread Index | Old Index