From 3b69a8a4beb0f7921ba44e1d82b43dbd69df0ce6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Sun, 1 Oct 2023 21:55:06 +0700 Subject: [PATCH] catch2: update to 3.4.0. --- srcpkgs/catch2/patches/musl-test.patch | 15 --------------- srcpkgs/catch2/template | 4 ++-- 2 files changed, 2 insertions(+), 17 deletions(-) delete mode 100644 srcpkgs/catch2/patches/musl-test.patch diff --git a/srcpkgs/catch2/patches/musl-test.patch b/srcpkgs/catch2/patches/musl-test.patch deleted file mode 100644 index 481a5930dbd..00000000000 --- a/srcpkgs/catch2/patches/musl-test.patch +++ /dev/null @@ -1,15 +0,0 @@ -From: Johnnynator - -errno on Musl and Glibc expand differently by one space ---- ---- a/scripts/approvalTests.py 2019-12-28 21:24:04.000000000 +0100 -+++ b/scripts/approvalTests.py 2019-12-28 21:24:04.000000000 +0100 -@@ -44,7 +44,7 @@ - - # errno macro expands into various names depending on platform, so we need to fix them up as well - errnoParser = re.compile(r''' -- \(\*__errno_location\ \(\)\) -+ \(\*__errno_location\s*\(\)\) - | - \(\*__error\(\)\) - | diff --git a/srcpkgs/catch2/template b/srcpkgs/catch2/template index 71ad84a696b..92f07bd8029 100644 --- a/srcpkgs/catch2/template +++ b/srcpkgs/catch2/template @@ -1,6 +1,6 @@ # Template file for 'catch2' pkgname=catch2 -version=2.13.10 +version=3.4.0 revision=1 build_style=cmake configure_args="-DCATCH_USE_VALGRIND=OFF -DCATCH_BUILD_TESTING=ON @@ -13,7 +13,7 @@ maintainer="Louis Dupré Bertoni " license="BSL-1.0" homepage="https://github.com/catchorg/Catch2" distfiles="https://github.com/catchorg/Catch2/archive/v${version}/catch2-v${version}.tar.gz" -checksum=d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943 +checksum=122928b814b75717316c71af69bd2b43387643ba076a6ec16e7882bfb2dfacbb post_install() { vlicense LICENSE.txt