commit: 12c00fc9381695f0e0262fa5ea4000dc9eb89fbf Author: 1vybridge <openrc <AT> posteo <DOT> de> AuthorDate: Sat Jun 21 13:44:51 2025 +0000 Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> CommitDate: Sun Jul 20 08:39:27 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12c00fc9
net-libs/libcorkipset: Set min cmake ver to 3.10 Add patch to set the minimum cmake version to 3.10 Closes: https://bugs.gentoo.org/957567 Closes: https://github.com/gentoo/gentoo/pull/42683 Signed-off-by: 1vybridge <openrc <AT> posteo.de> Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> .../libcorkipset/files/cmake-min-ver-3.10.patch | 25 ++++++++++++++++++++++ ...ld => libcorkipset-1.1.1.20150311_p8-r1.ebuild} | 7 ++++-- 2 files changed, 30 insertions(+), 2 deletions(-) diff --git a/net-libs/libcorkipset/files/cmake-min-ver-3.10.patch b/net-libs/libcorkipset/files/cmake-min-ver-3.10.patch new file mode 100644 index 000000000000..4dc7f4a266e9 --- /dev/null +++ b/net-libs/libcorkipset/files/cmake-min-ver-3.10.patch @@ -0,0 +1,25 @@ +From 596b26708ccc099a3a9e5f9d5408d603d2b60e1c Mon Sep 17 00:00:00 2001 +From: 1vybridge <[email protected]> +Date: Sat, 21 Jun 2025 16:38:23 +0300 +Subject: [PATCH] Set cmake minimum version to 3.10 + +--- + CMakeLists.txt | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/CMakeLists.txt b/CMakeLists.txt +index 4711de2..329d98d 100644 +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -6,7 +6,7 @@ + # Please see the COPYING file in this distribution for license details. + # ---------------------------------------------------------------------- + +-cmake_minimum_required(VERSION 2.6) ++cmake_minimum_required(VERSION 3.10) + set(PROJECT_NAME ipset) + set(RELEASE_DATE 2013-12-11) + project(${PROJECT_NAME}) +-- +2.49.0 + diff --git a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8-r1.ebuild similarity index 89% rename from net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild rename to net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8-r1.ebuild index 0d69d8f7b40d..93dc02a50961 100644 --- a/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8.ebuild +++ b/net-libs/libcorkipset/libcorkipset-1.1.1.20150311_p8-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2022 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -22,7 +22,10 @@ RDEPEND="${DEPEND}" S="${WORKDIR}/${PN}-debian-${MY_PX}" -PATCHES=( "${S}"/debian/patches/ ) +PATCHES=( + "${S}"/debian/patches/ + "${FILESDIR}"/cmake-min-ver-3.10.patch +) src_prepare() { cmake_src_prepare
