Index | Thread | Search

From:
Rafael Sadowski <rafael@sizeofvoid.org>
Subject:
Re: [libcxx22] fallout
To:
Theo Buehler <tb@theobuehler.org>
Cc:
ports@openbsd.org, "Anthony J. Bentley" <anthony@anjbe.name>
Date:
Wed, 26 Aug 2026 07:01:59 +0200

Download raw body.

Thread
  • Rafael Sadowski:

    [libcxx22] fallout

  • Rafael Sadowski:

    [libcxx22] fallout

  • On Fri Aug 21, 2026 at 02:15:34PM +0200, Theo Buehler wrote:
    > Here is the directly libcxx22-related breakage of my first bulk.
    > 
    > There may be a few more because mono got stuck with a weird error.  And
    > I did not try to build the V8 monsters: codex, deno, chromiums and a few
    > others because my machine isn't beefy enough. I don't think anything
    > super important is directly affected or hiding behind those. So as far
    > as ports are concerned, I think we can land libcxx22 whenever we want:
    > 
    > audio/ncmpcpp
    > audio/rubberband
    > cad/freecad
    > databases/mongodb/44
    > games/cataclysm-dda
    > games/dxx-rebirth
    > games/flightgear/base
    > games/keeperrl
    > mail/kopano/core
    > misc/subsurface
    > shells/fish/v3
    > textproc/lttoolbox
    > 
    > 
    > textproc/lttoolbox
    > /usr/include/c++/v1/__iterator/ostream_iterator.h:56:20: error: invalid operands to binary expression ('ostream_type' (aka 'basic_ostream<char, std::char_traits<char>>') and 'const char')
    >    56 |     *__out_stream_ << __value;
    >       |     ~~~~~~~~~~~~~~ ^  ~~~~~~~
    > 
    
    OK?
    
    diff --git a/textproc/lttoolbox/patches/patch-lttoolbox_ustring_h b/textproc/lttoolbox/patches/patch-lttoolbox_ustring_h
    new file mode 100644
    index 00000000000..b5ee23109b2
    --- /dev/null
    +++ b/textproc/lttoolbox/patches/patch-lttoolbox_ustring_h
    @@ -0,0 +1,12 @@
    +Fix build with libc++22
    +Index: lttoolbox/ustring.h
    +--- lttoolbox/ustring.h.orig
    ++++ lttoolbox/ustring.h
    +@@ -26,6 +26,7 @@
    + #include <vector>
    + #include <cstdint>
    + #include <iomanip>
    ++#include <ostream>
    + 
    + typedef std::basic_string<UChar> UString;
    + typedef std::basic_string_view<UChar> UStringView;
    
    
  • Rafael Sadowski:

    [libcxx22] fallout

  • Rafael Sadowski:

    [libcxx22] fallout