net-p2p/ktorrent: Fix upstream patch

Upstream commit c8701e6a9ff52c04c364e8f5dd8f32f44bfeaa93

Closes: https://bugs.gentoo.org/806390
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
Andreas Sturmlechner 2021-08-04 16:55:17 +02:00
parent bdc1a35972
commit 2ce4db60d0
No known key found for this signature in database
GPG Key ID: 444B0F96FFD22CCB
1 changed files with 2 additions and 15 deletions

View File

@ -3,24 +3,11 @@ From: =?UTF-8?q?=C3=96mer=20Fad=C4=B1l=20Usta?= <omerusta@gmail.com>
Date: Tue, 18 May 2021 15:15:26 +0000
Subject: [PATCH] Fix tests with new ecm sytle
* asturm 2021-08-04: Merged w/ c8701e6a9ff52c04c364e8f5dd8f32f44bfeaa93
---
CMakeLists.txt | 2 ++
plugins/ipfilter/tests/CMakeLists.txt | 7 ++-----
2 files changed, 4 insertions(+), 5 deletions(-)
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/CMakeLists.txt b/CMakeLists.txt
index e0f67a93..edc64983 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -17,6 +17,8 @@ set (KF5_MIN_VERSION "5.82")
set (LIBKTORRENT_MIN_VERSION "20.11.70")
set (Boost_MIN_VERSION "1.71.0")
+cmake_policy(SET CMP0115 OLD)
+
find_package(ECM ${KF5_MIN_VERSION} REQUIRED NO_MODULE)
set(CMAKE_MODULE_PATH ${ECM_MODULE_PATH} ${CMAKE_MODULE_PATH})
diff --git a/plugins/ipfilter/tests/CMakeLists.txt b/plugins/ipfilter/tests/CMakeLists.txt
index ec839aac..6c34b2d0 100644
--- a/plugins/ipfilter/tests/CMakeLists.txt