commit:     83ae15a51687c2c2585b6a03193bf91447defb81
Author:     Matt Whitlock <gentoo <AT> mattwhitlock <DOT> name>
AuthorDate: Sun Jun 22 21:28:05 2025 +0000
Commit:     Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Thu Oct 30 19:27:56 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ae15a5

net-p2p/bitcoin-core-29.0: fix CMake 4 compatibility

Closes: https://bugs.gentoo.org/958361
See: 
https://github.com/google/crc32c/commit/2bbb3be42e20a0e6c0f7b39dc07dc863d9ffbc07
Signed-off-by: Matt Whitlock <gentoo <AT> mattwhitlock.name>
Part-of: https://github.com/gentoo/gentoo/pull/42703
Closes: https://github.com/gentoo/gentoo/pull/42703
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>

 net-p2p/bitcoin-core/bitcoin-core-29.0.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/net-p2p/bitcoin-core/bitcoin-core-29.0.ebuild 
b/net-p2p/bitcoin-core/bitcoin-core-29.0.ebuild
index 573e07308fc6..d964a4f37b22 100644
--- a/net-p2p/bitcoin-core/bitcoin-core-29.0.ebuild
+++ b/net-p2p/bitcoin-core/bitcoin-core-29.0.ebuild
@@ -138,6 +138,10 @@ pkg_setup() {
 }
 
 src_prepare() {
+       # https://bugs.gentoo.org/958361
+       # 
https://github.com/google/crc32c/commit/2bbb3be42e20a0e6c0f7b39dc07dc863d9ffbc07
+       sed -e '/^cmake_minimum_required(VERSION 3\.1)$/s/)$/6)/' -i 
src/crc32c/CMakeLists.txt || die
+
        eapply_user
        ! use system-libsecp256k1 || rm -r src/secp256k1 || die
        cmake_src_prepare

Reply via email to