mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-19 03:53:22 -04:00
- Upstream gates catch2_min_version at 3.14 but Gentoo ships only 3.13. - find_package fails, FetchContent_MakeAvailable git-clones Catch2 at build time and dies in network-sandbox (CF0014). - Patch the floor to 3.13 so find_package matches dev-cpp/catch. Closes: https://bugs.gentoo.org/975580 Signed-off-by: Huang Rui <vowstar@gmail.com>
31 lines
1.1 KiB
Diff
31 lines
1.1 KiB
Diff
From: Huang Rui <vowstar@gmail.com>
|
|
Date: Wed, 20 May 2026 20:10:00 +0800
|
|
Subject: [PATCH] external: lower catch2 min version to 3.13
|
|
|
|
Gentoo ships up to dev-cpp/catch-3.13. With the upstream cap at 3.14
|
|
find_package fails, FetchContent_MakeAvailable then falls through to
|
|
git clone which is blocked by network-sandbox. Catch2's 3.13 to 3.14
|
|
diff is API-compatible for slang's unit tests, so lowering the floor
|
|
to 3.13 lets system Catch2 satisfy the FIND_PACKAGE_ARGS path and
|
|
avoids the network access entirely.
|
|
|
|
Bug: https://bugs.gentoo.org/975580
|
|
Upstream-Status: Not submitted (distro version-floor concern)
|
|
Signed-off-by: Huang Rui <vowstar@gmail.com>
|
|
---
|
|
external/CMakeLists.txt | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/external/CMakeLists.txt b/external/CMakeLists.txt
|
|
--- a/external/CMakeLists.txt
|
|
+++ b/external/CMakeLists.txt
|
|
@@ -7,7 +7,7 @@
|
|
set(fmt_min_version "12.1")
|
|
set(mimalloc_min_version "3.3")
|
|
set(cpptrace_min_version "1.0")
|
|
-set(catch2_min_version "3.14")
|
|
+set(catch2_min_version "3.13")
|
|
|
|
# --- fmt lib ---
|
|
set(find_pkg_args "")
|