mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
sci-libs/parmetis: Fix build w/ CMake-4
Closes: https://bugs.gentoo.org/963577 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
Source: https://github.com/KarypisLab/ParMETIS/pull/34
|
||||
|
||||
From c4731003101f0579505c3fe6c07247e17be24e39 Mon Sep 17 00:00:00 2001
|
||||
From: =?UTF-8?q?Christoph=20Gr=C3=BCninger?= <foss@grueninger.de>
|
||||
Date: Fri, 4 Jul 2025 23:14:49 +0200
|
||||
Subject: [PATCH] Require CMake 3.10
|
||||
|
||||
---
|
||||
CMakeLists.txt | 2 +-
|
||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index 146bc5f..b1661a9 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -1,4 +1,4 @@
|
||||
-cmake_minimum_required(VERSION 2.8)
|
||||
+cmake_minimum_required(VERSION 3.10)
|
||||
project(ParMETIS C)
|
||||
|
||||
|
||||
@@ -1,11 +1,10 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
COMMIT="8ee6a372ca703836f593e3c450ca903f04be14df"
|
||||
inherit cmake toolchain-funcs
|
||||
|
||||
DESCRIPTION="Parallel (MPI) unstructured graph partitioning library"
|
||||
HOMEPAGE="https://github.com/KarypisLab/ParMETIS"
|
||||
@@ -29,6 +28,7 @@ RDEPEND="${DEPEND}"
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-respect-user-flags.patch
|
||||
"${FILESDIR}"/${P}-multilib.patch
|
||||
"${FILESDIR}"/${P}-cmake4.patch
|
||||
)
|
||||
|
||||
pkg_pretend() {
|
||||
|
||||
Reference in New Issue
Block a user