summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2022-08-15 22:00:03 +0200
committerAndreas Sturmlechner <asturm@gentoo.org>2022-08-15 22:00:29 +0200
commit9a86567865750c74c8d66e75e0674c48e4aeedb2 (patch)
treeba4cbc25095a235b18db323e6b9a7f2d31397035
parentx11-libs/xcb-util-cursor: Stabilize 0.1.3-r4 ppc, #861023 (diff)
downloadgentoo-9a86567865750c74c8d66e75e0674c48e4aeedb2.tar.gz
gentoo-9a86567865750c74c8d66e75e0674c48e4aeedb2.tar.bz2
gentoo-9a86567865750c74c8d66e75e0674c48e4aeedb2.zip
kde-misc/kio-locate: Fix build with newer cmake
Closes: https://bugs.gentoo.org/813031 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
-rw-r--r--kde-misc/kio-locate/files/kio-locate-0.5.3-kf5port.patch6
1 files 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 @@