commit:     9a86567865750c74c8d66e75e0674c48e4aeedb2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Mon Aug 15 20:00:03 2022 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Mon Aug 15 20:00:29 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a865678

kde-misc/kio-locate: Fix build with newer cmake

Closes: https://bugs.gentoo.org/813031
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

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
index 986e8c6b0ee2..65fe2481ce9d 100644
--- 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
@@ -1,7 +1,9 @@
 diff -Naur a/CMakeLists.txt b/CMakeLists.txt
 --- a/CMakeLists.txt   2010-03-07 02:38:40.000000000 +0800
 +++ b/CMakeLists.txt   2015-10-19 19:28:48.185748034 +0800
-@@ -1,31 +1,38 @@
+@@ -0,31 +0,40 @@
++cmake_minimum_required(VERSION 3.16)
++
  set(KDE_MIN_VERSION "4.4.0")
 -find_package(KDE4 4.4.0 REQUIRED)
 -include (KDE4Defaults)
@@ -56,7 +58,6 @@ diff -Naur a/doc/CMakeLists.txt b/doc/CMakeLists.txt
 @@ -1 +1 @@
 -macro_optional_add_subdirectory(en)
 +add_subdirectory(en)
-diff -Naur a/kio_locate.cpp b/kio_locate.cpp
 --- a/kio_locate.cpp   2010-03-20 17:05:46.000000000 +0800
 +++ b/kio_locate.cpp   2015-10-19 18:49:56.251128472 +0800
 @@ -290,7 +290,7 @@
@@ -86,7 +87,6 @@ diff -Naur a/kio_locate.cpp b/kio_locate.cpp
      dialog->setWindowIcon(SmallIcon("edit-find"));
  
      Ui::KLocateConfigWidget w1;
-diff -Naur a/kio_locate.h b/kio_locate.h
 --- a/kio_locate.h     2010-03-20 17:05:46.000000000 +0800
 +++ b/kio_locate.h     2015-10-19 18:51:19.908758859 +0800
 @@ -62,6 +62,10 @@

Reply via email to