summaryrefslogtreecommitdiff
path: root/dev-cpp/catch/catch-2.13.10-r1.ebuild
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2025-11-25 21:18:00 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2025-11-30 20:01:33 +0100
commitbf209a29ec79d3c92713f7c494f5cf6fc72f53c9 (patch)
tree141734e8bc5440d9b4cb65fb829a71a49c650b4d /dev-cpp/catch/catch-2.13.10-r1.ebuild
parent076f681e4d7dda960bb849ecdd0526737c673cca (diff)
downloadgentoo-bf209a29ec79d3c92713f7c494f5cf6fc72f53c9.tar.gz
gentoo-bf209a29ec79d3c92713f7c494f5cf6fc72f53c9.tar.bz2
gentoo-bf209a29ec79d3c92713f7c494f5cf6fc72f53c9.zip
dev-cpp/catch: Fix build w/ cmake-4
Closes: https://bugs.gentoo.org/957561 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'dev-cpp/catch/catch-2.13.10-r1.ebuild')
-rw-r--r--dev-cpp/catch/catch-2.13.10-r1.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/dev-cpp/catch/catch-2.13.10-r1.ebuild b/dev-cpp/catch/catch-2.13.10-r1.ebuild
index 31ec3aa215f9..5460dd7cab95 100644
--- a/dev-cpp/catch/catch-2.13.10-r1.ebuild
+++ b/dev-cpp/catch/catch-2.13.10-r1.ebuild
@@ -28,6 +28,13 @@ RESTRICT="!test? ( test )"
BDEPEND="test? ( ${PYTHON_DEPS} )"
+PATCHES=( "${FILESDIR}"/${P}-cmake4.patch ) # bug 957561
+
+src_prepare() {
+ rm -r .conan misc || die # unused, bug 957561
+ cmake_src_prepare
+}
+
pkg_setup() {
use test && python-any-r1_pkg_setup
}