net-wireless/libxtrxdsp: Fix build with CMake 4

Closes: https://bugs.gentoo.org/957213
Signed-off-by: Thomas Beierlein <tomjbe@gentoo.org>
This commit is contained in:
Thomas Beierlein
2025-07-12 10:52:15 +02:00
parent ed39177970
commit 57bc618a92
2 changed files with 16 additions and 4 deletions

View File

@@ -1,7 +1,7 @@
# Copyright 2020-2023 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
DESCRIPTION="DSP specific function for SDR in general and XTRX in specific"
@@ -18,3 +18,9 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
src_prepare() {
# fix build with cmake 4
sed -i -e "s/VERSION 2.8/VERSION 3.10/" CMakeLists.txt || die
cmake_src_prepare
}

View File

@@ -1,7 +1,7 @@
# Copyright 2020-2023 Gentoo Authors
# Copyright 2020-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI=8
inherit cmake
DESCRIPTION="DSP specific function for SDR in general and XTRX in specific"
@@ -18,3 +18,9 @@ fi
LICENSE="LGPL-2.1"
SLOT="0"
src_prepare() {
# fix build with cmake 4
sed -i -e "s/VERSION 2.8/VERSION 3.10/" CMakeLists.txt || die
cmake_src_prepare
}