app-misc/interception-tools: patch cmake to 3.10

Signed-off-by: Julian Jørgensen <jjo@jtle.dk>
This commit is contained in:
Julian Jørgensen
2026-07-03 23:13:39 +02:00
parent 79f1e75e80
commit 5223cfc4bb
2 changed files with 18 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
diff --git a/CMakeLists.txt b/CMakeLists.txt
index af5fd82..38f65c0 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -1,7 +1,8 @@
-cmake_minimum_required(VERSION 3.0)
+cmake_minimum_required(VERSION 3.10)
project(interception-tools)
+cmake_policy(SET CMP0167 NEW)
find_package(Boost REQUIRED)
find_package(Threads REQUIRED)

View File

@@ -27,6 +27,10 @@ BDEPEND="
virtual/pkgconfig
"
PATCHES=(
"${FILESDIR}/interception-tools-0.6.8-r2-cmake-version-3-10.patch"
)
src_install() {
cmake_src_install
systemd_dounit "udevmon.service"