Download raw body.
[new] devel/scnlib
2026-04-17T08:12:01+0200 Rafael Sadowski <rafael@sizeofvoid.org>:
> On Sat Apr 04, 2026 at 02:40:43PM +0000, Johannes Thyssen Tishman wrote:
> > Please find attached a port for devel/scnlib.
> >
> > COMMENT:
> > scanf for modern C++
> >
> > DESCR:
> > scnlib is a modern C++ library for replacing scanf and std::istream.
> > This library attempts to move us ever so much closer to replacing
> > iostreams and C stdio altogether. It's faster than iostream, and
> > type-safe, unlike scanf. Think {fmt} or C++20 std::format, but in the
> > other direction.
> >
> > This port is needed to update graphics/vtk to version 9.6.0. Most tests
> > are passing (96% tests passed, 1 tests failed out of 25). I've
> > reported[1] the set of tests that failed upstream.
> >
> > [1] https://github.com/eliaskosunen/scnlib/issues/155
> >
> > Feedback? OKs? Thank you.
>
> OK (I'm in favour of post 7.9!) but ...
Hi rsadowski. Thanks for reviewing these ports and sorry for the late
reply. Attached a tarball of the port.
...
> > +COMPILER = base-clang ports-gcc
>
> why COMPILER?
IIRC, to override the default of 'base-clang base-gcc', as I believe
base-gcc is never used for cmake ports, right? However, now that you
mention it, I comented out the line and ran 'make show=COMPILER' to see
that it's already correctly set to 'base-clang ports-gcc'. The attached
tarball drops it.
[new] devel/scnlib