| Port details on branch 2026Q1 |
- catch Header-only test framework for C++
- 2.13.10_1 devel
=0 2.13.10_1Version of this port present on the latest quarterly branch. - Maintainer: sunpoet@FreeBSD.org
 - Port Added: 2026-03-13 08:36:20
- Last Update: 2026-03-13 08:51:21
- Commit Hash: a35bcf1
- License: BSL
- WWW:
- https://github.com/catchorg/Catch2
- Description:
- Catch stands for C++ Automated Test Cases in Headers and is a multi-paradigm
automated test framework for C++ and Objective-C (and, maybe, C). It is
implemented entirely in a set of header files, but is packaged up as a single
header for extra convenience.
¦ ¦ ¦ ¦ 
- Manual pages:
- FreshPorts has no man page information for this port.
- pkg-plist: as obtained via:
make generate-plist - USE_RC_SUBR (Service Scripts)
- no SUBR information found for this port
- Dependency lines:
-
- To install the port:
- cd /usr/ports/devel/catch/ && make install clean
- To add the package, run one of these commands:
- pkg install devel/catch
- pkg install catch
NOTE: If this package has multiple flavors (see below), then use one of them instead of the name specified above.- PKGNAME: catch
- Flavors: there is no flavor information for this port.
- distinfo:
- TIMESTAMP = 1679498524
SHA256 (catchorg-Catch2-v2.13.10_GH0.tar.gz) = d54a712b7b1d7708bc7a819a8e6e47b2fde9536f487b89ccbca295072a7d9943
SIZE (catchorg-Catch2-v2.13.10_GH0.tar.gz) = 662225
No package information for this port in our database- Sometimes this happens. Not all ports have packages. Perhaps there is a build error. Check the fallout link:

- Dependencies
- NOTE: FreshPorts displays only information on required and default dependencies. Optional dependencies are not covered.
- Build dependencies:
-
- cmake : devel/cmake-core
- ninja : devel/ninja
- python3.11 : lang/python311
- There are no ports dependent upon this port
Configuration Options:
- ===> The following configuration options are available for catch-2.13.10_1:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
- Options name:
- devel_catch
- USES:
- cmake compiler:c++14-lang python:build
- FreshPorts was unable to extract/find any pkg message
- Master Sites:
|
Number of commits found: 2
| Commit History - (may be incomplete: for full details, see links to repositories near top of page) |
| Commit | Credits | Log message |
2.13.10_1 13 Mar 2026 08:51:21
    |
Dimitry Andric (dim)  |
devel/catch: fix build with clang 21, take 2
Move the separate patches into patch-clang21, as requested by the
maintainer.
PR: 293446
Approved by: sunpoet (maintainer)
MFH: 2026Q1
(cherry picked from commit 9c2cb42fd6cfda42888e61feb6e287661125edcc) |
2.13.10_1 13 Mar 2026 08:34:37
    |
Dimitry Andric (dim)  |
devel/catch: fix build with clang 21
With clang 21 devel/catch fails to build, with errors similar to:
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/internal/catch_stringref.h:95:32:
error: identifier '_sr' preceded by whitespace in a literal operator declaration
is deprecated [-Werror,-Wdeprecated-literal-operator]
95 | constexpr auto operator "" _sr( char const* rawChars,
std::size_t size ) noexcept -> StringRef {
| ~~~~~~~~~~~~^~~
| operator""_sr
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/include/internal/catch_stringref.h:100:28:
error: identifier '_catch_sr' preceded by whitespace in a literal operator
declaration is deprecated [-Werror,-Wdeprecated-literal-operator]
100 | constexpr auto operator "" _catch_sr( char const* rawChars,
std::size_t size ) noexcept -> Catch::StringRef {
| ~~~~~~~~~~~~^~~~~~~~~
| operator""_catch_sr
/wrkdirs/usr/ports/devel/catch/work/Catch2-2.13.10/projects/SelfTest/IntrospectiveTests/String.tests.cpp:144:33:
error: identifier '_sr' preceded by whitespace in a literal operator declaration
is deprecated [-Werror,-Wdeprecated-literal-operator]
144 | using Catch::operator"" _sr;
| ~~~~~~~~~~~^~~(Only the first 15 lines of the commit message are shown above ) |
Number of commits found: 2
|