summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-03-26 21:48:12 +0000
committerjoerg <joerg@pkgsrc.org>2020-03-26 21:48:12 +0000
commit30b21d0cc56357f6a67028dfbb8dac4f05165baf (patch)
treefee683c44a9be285b2babb90bee57232cbe2c573 /x11
parent9dff402c65a20954afab41e9a26f74dc346bea2c (diff)
downloadpkgsrc-30b21d0cc56357f6a67028dfbb8dac4f05165baf.tar.gz
Pointer order is undefined in C++, fix portability.
Diffstat (limited to 'x11')
-rw-r--r--x11/kde-workspace4/distinfo5
-rw-r--r--x11/kde-workspace4/patches/patch-khotkeys_libkhotkeysprivate_windows__helper_window__selection__rules.cpp13
-rw-r--r--x11/kde-workspace4/patches/patch-libs_taskmanager_task.cpp17
-rw-r--r--x11/kde-workspace4/patches/patch-plasma_generic_dataengines_weather_ions_bbcukmet_ion__bbcukmet.cpp27
4 files changed, 61 insertions, 1 deletions
diff --git a/x11/kde-workspace4/distinfo b/x11/kde-workspace4/distinfo
index 4ceb0061251..2a37e25189a 100644
--- a/x11/kde-workspace4/distinfo
+++ b/x11/kde-workspace4/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.21 2018/01/17 19:10:23 markd Exp $
+$NetBSD: distinfo,v 1.22 2020/03/26 21:48:12 joerg Exp $
SHA1 (Daemon.README) = eb1e6af52adc02ded77af17e8953134b7e60d23b
RMD160 (Daemon.README) = 39edd92ed4314397080f32a8caff0ac3f716ecf4
@@ -23,6 +23,7 @@ SHA1 (patch-kdm_config.def) = ac0907cc59c5f0976cdbe152bb7fb0a4592bbe84
SHA1 (patch-kdm_kcm_main.cpp) = bb692c83fa189342105744cc9c3c180b970571b7
SHA1 (patch-kdm_kfrontend_CMakeLists.txt) = 0b0c541c7305d31e01a45f0a6a7f5ddb2d2e57fe
SHA1 (patch-kdm_kfrontend_genkdmconf.c) = 28829bb285df6a3d252eb1bf7043cbd44e10500f
+SHA1 (patch-khotkeys_libkhotkeysprivate_windows__helper_window__selection__rules.cpp) = 04b707413f5ab375d9d8624e78652c725154932f
SHA1 (patch-kinfocenter_Modules_nics_nic.cpp) = 0f7e846eac8d694e0ab6018d4f4c571b4e0c84db
SHA1 (patch-ksysguard_example_CMakeLists.txt) = bd10f03a308442b8febe8864010987fb504b2d21
SHA1 (patch-ksysguard_ksysguard_FreeBSD_ProcessList.c) = 716f1e75fb23f7d6ddf31092e9a60961f078845c
@@ -44,10 +45,12 @@ SHA1 (patch-libs_ksysguard_processcore_CMakeLists.txt) = 61b886388aa5d0831581eac
SHA1 (patch-libs_ksysguard_processcore_processes.cpp) = 8bfcc8b7e91eafd6b444f4103d3860fb6434a535
SHA1 (patch-libs_ksysguard_processcore_processes__netbsd__p.cpp) = 37303769e7b3890b47cc4f1f2715f55f2015a3ca
SHA1 (patch-libs_oxygen_oxygenhelper.cpp) = ef013d9492a1e59e627a82a5b842cb0b7a23160f
+SHA1 (patch-libs_taskmanager_task.cpp) = 983727c78c9569a971eb07d8c1e289db3f0460b2
SHA1 (patch-mkpamserv) = 736fc439a34298f51c9fb09200b9dc8628eabc43
SHA1 (patch-plasma_generic_applets_digital-clock_clock.cpp) = dd052f6c36fbd62dd5fecc0bcf162f22e500463c
SHA1 (patch-plasma_generic_dataengines_rss_CMakeLists.txt) = 6a12cb3cb54a8b1899f29e7f50a1171862dce66e
SHA1 (patch-plasma_generic_dataengines_time_solarsystem.h) = 474bbf3bc9f9bc0c75772f01218c1739d49fd31c
SHA1 (patch-plasma_generic_dataengines_time_timesource.h) = 85ccf0ed379c94e174880bc239daee60afccc788
+SHA1 (patch-plasma_generic_dataengines_weather_ions_bbcukmet_ion__bbcukmet.cpp) = ea085aeeb7e05e99759db9d4537ae6c5140e31c6
SHA1 (patch-plasma_generic_scriptengines_python_plasma__importer.py) = 813dd7c51c1535e7d69ea493db8eb98084bbaac0
SHA1 (patch-startkde.cmake) = 36421affc2af12a50623ecfd4f3b0cb320796634
diff --git a/x11/kde-workspace4/patches/patch-khotkeys_libkhotkeysprivate_windows__helper_window__selection__rules.cpp b/x11/kde-workspace4/patches/patch-khotkeys_libkhotkeysprivate_windows__helper_window__selection__rules.cpp
new file mode 100644
index 00000000000..a7405305af7
--- /dev/null
+++ b/x11/kde-workspace4/patches/patch-khotkeys_libkhotkeysprivate_windows__helper_window__selection__rules.cpp
@@ -0,0 +1,13 @@
+$NetBSD: patch-khotkeys_libkhotkeysprivate_windows__helper_window__selection__rules.cpp,v 1.1 2020/03/26 21:48:12 joerg Exp $
+
+--- khotkeys/libkhotkeysprivate/windows_helper/window_selection_rules.cpp.orig 2020-03-26 12:05:58.251568485 +0000
++++ khotkeys/libkhotkeysprivate/windows_helper/window_selection_rules.cpp
+@@ -91,7 +91,7 @@ bool Windowdef_simple::is_substr_match(
+ case NOT_IMPORTANT :
+ return true;
+ case CONTAINS :
+- return str1_P.contains( str2_P ) > 0;
++ return str1_P.contains( str2_P );
+ case IS :
+ return str1_P == str2_P;
+ case REGEXP :
diff --git a/x11/kde-workspace4/patches/patch-libs_taskmanager_task.cpp b/x11/kde-workspace4/patches/patch-libs_taskmanager_task.cpp
new file mode 100644
index 00000000000..e6be17a023f
--- /dev/null
+++ b/x11/kde-workspace4/patches/patch-libs_taskmanager_task.cpp
@@ -0,0 +1,17 @@
+$NetBSD: patch-libs_taskmanager_task.cpp,v 1.1 2020/03/26 21:48:12 joerg Exp $
+
+--- libs/taskmanager/task.cpp.orig 2020-03-26 12:01:17.299732149 +0000
++++ libs/taskmanager/task.cpp
+@@ -478,10 +478,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;
diff --git a/x11/kde-workspace4/patches/patch-plasma_generic_dataengines_weather_ions_bbcukmet_ion__bbcukmet.cpp b/x11/kde-workspace4/patches/patch-plasma_generic_dataengines_weather_ions_bbcukmet_ion__bbcukmet.cpp
new file mode 100644
index 00000000000..3f26a55d043
--- /dev/null
+++ b/x11/kde-workspace4/patches/patch-plasma_generic_dataengines_weather_ions_bbcukmet_ion__bbcukmet.cpp
@@ -0,0 +1,27 @@
+$NetBSD: patch-plasma_generic_dataengines_weather_ions_bbcukmet_ion__bbcukmet.cpp,v 1.1 2020/03/26 21:48:12 joerg Exp $
+
+--- plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp.orig 2020-03-26 12:09:14.941435215 +0000
++++ plasma/generic/dataengines/weather/ions/bbcukmet/ion_bbcukmet.cpp
+@@ -312,11 +312,11 @@ void UKMETIon::readSearchHTMLData(const
+
+ while (!stream.atEnd()) {
+ line = stream.readLine();
+- if (line.contains("<p class=\"response\">") > 0) {
++ if (line.contains("<p class=\"response\">")) {
+ flag = 1;
+ }
+
+- if (line.contains("There are no forecasts matching") > 0) {
++ if (line.contains("There are no forecasts matching")) {
+ break;
+ }
+
+@@ -342,7 +342,7 @@ void UKMETIon::readSearchHTMLData(const
+ }
+ }
+
+- if (line.contains("<div class=\"line\">") > 0) {
++ if (line.contains("<div class=\"line\">")) {
+ flag = 0;
+ }
+ }