commit: 160aedda3f88e8934ee3fef1c7f54db25e811dba Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Tue Sep 30 18:08:28 2025 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Tue Sep 30 18:09:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=160aedda
sci-calculators/hcalc: update EAPI 7 -> 8 Closes: https://bugs.gentoo.org/952071 Closes: https://bugs.gentoo.org/957237 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> sci-calculators/hcalc/files/hcalc-1.2-cmake4.patch | 8 ++++++++ sci-calculators/hcalc/hcalc-1.2-r1.ebuild | 7 ++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/sci-calculators/hcalc/files/hcalc-1.2-cmake4.patch b/sci-calculators/hcalc/files/hcalc-1.2-cmake4.patch new file mode 100644 index 000000000000..7f8e47adf5a5 --- /dev/null +++ b/sci-calculators/hcalc/files/hcalc-1.2-cmake4.patch @@ -0,0 +1,8 @@ +--- a/CMakeLists.txt ++++ b/CMakeLists.txt +@@ -1,4 +1,4 @@ +-cmake_minimum_required (VERSION 2.6) ++cmake_minimum_required (VERSION 3.10) + project (hcalc C) + + find_package(X11) diff --git a/sci-calculators/hcalc/hcalc-1.2-r1.ebuild b/sci-calculators/hcalc/hcalc-1.2-r1.ebuild index 7f9ac30de30d..d237345158d7 100644 --- a/sci-calculators/hcalc/hcalc-1.2-r1.ebuild +++ b/sci-calculators/hcalc/hcalc-1.2-r1.ebuild @@ -1,12 +1,12 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2025 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 inherit cmake DESCRIPTION="DJ's Hex Calculator" -HOMEPAGE="http://www.delorie.com/store/hcalc/ https://github.com/jlec/hcalc" +HOMEPAGE="https://www.delorie.com/store/hcalc/ https://github.com/jlec/hcalc" SRC_URI="https://github.com/jlec/hcalc/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" LICENSE="GPL-2" @@ -21,6 +21,7 @@ DEPEND="${RDEPEND}" PATCHES=( "${FILESDIR}"/${P}-fno-common.patch "${FILESDIR}"/${P}-clang16.patch + "${FILESDIR}"/${P}-cmake4.patch # bug 952071, downstream patch ) pkg_postinst() {
