commit:     2e6bc3b89c6aad7cf96e273666d950087d4a8a2b
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Jul  3 14:50:37 2025 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Jul  3 16:19:46 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6bc3b8

sys-fs/fatcat: EAPI=8 update, cmake-4 compat

Closes: https://bugs.gentoo.org/953850
Closes: https://bugs.gentoo.org/957266
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 sys-fs/fatcat/{fatcat-1.1.1.ebuild => fatcat-1.1.1-r1.ebuild} | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/sys-fs/fatcat/fatcat-1.1.1.ebuild 
b/sys-fs/fatcat/fatcat-1.1.1-r1.ebuild
similarity index 79%
rename from sys-fs/fatcat/fatcat-1.1.1.ebuild
rename to sys-fs/fatcat/fatcat-1.1.1-r1.ebuild
index ac61be67b09a..0bfd1862e47a 100644
--- a/sys-fs/fatcat/fatcat-1.1.1.ebuild
+++ b/sys-fs/fatcat/fatcat-1.1.1-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 2018-2023 Gentoo Authors
+# Copyright 2018-2025 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
 inherit cmake
 
@@ -12,7 +12,6 @@ 
SRC_URI="https://github.com/Gregwar/fatcat/archive/v${PV}.tar.gz -> ${P}.tar.gz"
 LICENSE="MIT"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
-IUSE=""
 
 DEPEND="!elibc_glibc? ( sys-libs/argp-standalone )"
 RDEPEND="${DEPEND}"
@@ -21,6 +20,11 @@ PATCHES=(
        "${FILESDIR}/fatcat-1.1.1-musl-1.2.4-fixes.patch"
 )
 
+src_prepare() {
+       sed -i -e 's#VERSION 2.8#VERSION 4.0#' CMakeLists.txt || die
+       cmake_src_prepare
+}
+
 src_install() {
        cmake_src_install
        doman man/${PN}.1

Reply via email to