From 0e81b9770dfb0324b75e82eb6705d23c27a23eb6 Mon Sep 17 00:00:00 2001 From: adam Date: Sat, 2 Mar 2024 12:47:19 +0000 Subject: [PATCH] catch2: updated to 3.5.3 3.5.3 Fixes * Fixed OOB access when computing filename tag (from the `-#` flag) for file without extension * Fixed the linking against `log` on Android to be `PRIVATE` * Fixed `Wuseless-cast` in benchmarking internals Improvements * Restored compatibility with VS2017 * The baseline for Catch2 is still C++14 with some reasonable workarounds for specific compilers, so if VS2017 starts acting up again, the support will be dropped again. * Suppressed clang-tidy's `bugprone-chained-comparison` in assertions * Improved the static analysis mode to evaluate arguments to `TEST_CASE` and `SECTION` * Clang-tidy should no longer warn about runtime arguments to these macros being unused in static analysis mode. * Clang-tidy can warn on issues involved arguments to these macros. * Added support for literal-zero detectors based on `consteval` constructors * This is required for compiling `REQUIRE((a <=> b) == 0)` against MSVC's stdlib. * Sadly, MSVC still cannot compile this assertion as it does not implement C++20 correctly. * You can use `clang-cl` with MSVC's stdlib instead. * If for some godforsaken reasons you want to understand this better, read the two relevant commits: [`dc51386b9fd61f99ea9c660d01867e6ad489b403`](https://github.com/catchorg/Catch2/commit/dc51386b9fd61f99ea9c660d01867e6ad489b403), and [`0787132fc82a75e3fb255aa9484ca1dc1eff2a30`](https://github.com/catchorg/Catch2/commit/0787132fc82a75e3fb255aa9484ca1dc1eff2a30). Miscellaneous * Disabled tests for FP random generator reproducibility on non-SSE2 x86 targets * Modified the in-tree Conan recipe to support Conan 2 --- devel/catch2/Makefile | 4 ++-- devel/catch2/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/devel/catch2/Makefile b/devel/catch2/Makefile index bfc49382881a..a99ed34a761f 100644 --- a/devel/catch2/Makefile +++ b/devel/catch2/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.15 2024/01/16 06:23:57 adam Exp $ +# $NetBSD: Makefile,v 1.16 2024/03/02 12:47:19 adam Exp $ -DISTNAME= Catch2-3.5.2 +DISTNAME= Catch2-3.5.3 PKGNAME= ${DISTNAME:tl} CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_GITHUB:=catchorg/} diff --git a/devel/catch2/distinfo b/devel/catch2/distinfo index daa35fc87627..2e9574d21c3b 100644 --- a/devel/catch2/distinfo +++ b/devel/catch2/distinfo @@ -1,8 +1,8 @@ -$NetBSD: distinfo,v 1.16 2024/01/18 09:52:27 nros Exp $ +$NetBSD: distinfo,v 1.17 2024/03/02 12:47:19 adam Exp $ -BLAKE2s (Catch2-3.5.2.tar.gz) = 6b022b459338b86f3ea6f8c9a415d81e730ac545aac68832238c6b6a28fc664d -SHA512 (Catch2-3.5.2.tar.gz) = 1b9d5f35144f6c7acef0e76558a4adf3ff41c2c2292fbdcb3e2c2917fa2deb7fba593738105dd3c111f02ee8aca64010cf68f69bb8fb1815dbf771b509ab0576 -Size (Catch2-3.5.2.tar.gz) = 1159985 bytes +BLAKE2s (Catch2-3.5.3.tar.gz) = 411770cb4b0cd3aebc8b10b7899e91b6c3b9dd6936d03ea3f9d4ceef820e0eb5 +SHA512 (Catch2-3.5.3.tar.gz) = 57c996f679cbad212cb0fde39e506bade37bd559c0e93e20f407f2a2f029e98b78661e10257f9c8e4cb5fd7d52d0ea1eae3d4a1f989c6d66fcb281e32e1688f6 +Size (Catch2-3.5.3.tar.gz) = 1169512 bytes SHA1 (patch-src_catch2_catch__tostring.cpp) = d18154d9b987d48ef90947d02f6ae92e2569b8c7 SHA1 (patch-src_catch2_internal_catch__floating__point__helpers.hpp) = 32d9a0146f8a04cd203876e695c9a105b53a198f SHA1 (patch-src_catch2_matchers_catch__matchers__floating__point.cpp) = 855c7edee42b5befa4c4d70f3186809d5e0f3652