Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: kde-misc/kio-locate/files/
Date: Mon, 15 Aug 2022 20:00:51
Message-Id: 1660593629.9a86567865750c74c8d66e75e0674c48e4aeedb2.asturm@gentoo
1 commit: 9a86567865750c74c8d66e75e0674c48e4aeedb2
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 15 20:00:03 2022 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 15 20:00:29 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a865678
7
8 kde-misc/kio-locate: Fix build with newer cmake
9
10 Closes: https://bugs.gentoo.org/813031
11 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
12
13 kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch | 6 +++---
14 1 file changed, 3 insertions(+), 3 deletions(-)
15
16 diff --git a/kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch b/kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch
17 index 986e8c6b0ee2..65fe2481ce9d 100644
18 --- a/kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch
19 +++ b/kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch
20 @@ -1,7 +1,9 @@
21 diff -Naur a/CMakeLists.txt b/CMakeLists.txt
22 --- a/CMakeLists.txt 2010-03-07 02:38:40.000000000 +0800
23 +++ b/CMakeLists.txt 2015-10-19 19:28:48.185748034 +0800
24 -@@ -1,31 +1,38 @@
25 +@@ -0,31 +0,40 @@
26 ++cmake_minimum_required(VERSION 3.16)
27 ++
28 set(KDE_MIN_VERSION "4.4.0")
29 -find_package(KDE4 4.4.0 REQUIRED)
30 -include (KDE4Defaults)
31 @@ -56,7 +58,6 @@ diff -Naur a/doc/CMakeLists.txt b/doc/CMakeLists.txt
32 @@ -1 +1 @@
33 -macro_optional_add_subdirectory(en)
34 +add_subdirectory(en)
35 -diff -Naur a/kio_locate.cpp b/kio_locate.cpp
36 --- a/kio_locate.cpp 2010-03-20 17:05:46.000000000 +0800
37 +++ b/kio_locate.cpp 2015-10-19 18:49:56.251128472 +0800
38 @@ -290,7 +290,7 @@
39 @@ -86,7 +87,6 @@ diff -Naur a/kio_locate.cpp b/kio_locate.cpp
40 dialog->setWindowIcon(SmallIcon("edit-find"));
41
42 Ui::KLocateConfigWidget w1;
43 -diff -Naur a/kio_locate.h b/kio_locate.h
44 --- a/kio_locate.h 2010-03-20 17:05:46.000000000 +0800
45 +++ b/kio_locate.h 2015-10-19 18:51:19.908758859 +0800
46 @@ -62,6 +62,10 @@