aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/superkaramba-kde4/files
diff options
context:
space:
mode:
authoradridg <adridg@FreeBSD.org>2018-09-07 20:20:46 +0800
committeradridg <adridg@FreeBSD.org>2018-09-07 20:20:46 +0800
commita7a170190661949874e9776d00fbdcbb044eb277 (patch)
treec0b83c155be729b0c4c923a90b8e4faf8629a695 /deskutils/superkaramba-kde4/files
parentca1d2ca99607fe76cd109af95d414247b51aa030 (diff)
downloadfreebsd-ports-gnome-a7a170190661949874e9776d00fbdcbb044eb277.tar.gz
freebsd-ports-gnome-a7a170190661949874e9776d00fbdcbb044eb277.tar.zst
freebsd-ports-gnome-a7a170190661949874e9776d00fbdcbb044eb277.zip
Fix deskutils/superkaramba-kde4 with clang7.
Reported by: jbeich
Diffstat (limited to 'deskutils/superkaramba-kde4/files')
-rw-r--r--deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp15
1 files changed, 15 insertions, 0 deletions
diff --git a/deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp b/deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp
new file mode 100644
index 000000000000..f96e1650292c
--- /dev/null
+++ b/deskutils/superkaramba-kde4/files/patch-src_taskmanager.cpp
@@ -0,0 +1,15 @@
+--- src/taskmanager.cpp.orig 2018-09-07 12:19:36 UTC
++++ 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;