Index | Thread | Search

From:
"Anthony J. Bentley" <bentley@openbsd.org>
Subject:
Re: [libcxx22] fallout
To:
Rafael Sadowski <rafael@sizeofvoid.org>
Cc:
Theo Buehler <tb@theobuehler.org>, ports@openbsd.org
Date:
Wed, 26 Aug 2026 00:17:25 -0600

Download raw body.

Thread
  • Rafael Sadowski:

    [libcxx22] fallout

    • Anthony J. Bentley:

      [libcxx22] fallout

  • Rafael Sadowski:

    [libcxx22] fallout

  • Rafael Sadowski writes:
    > > textproc/lttoolbox
    > > /usr/include/c++/v1/__iterator/ostream_iterator.h:56:20: error: invalid ope
    > rands to binary expression ('ostream_type' (aka 'basic_ostream<char, std::cha
    > r_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;
    
    Yes, ok.
    
    
  • Rafael Sadowski:

    [libcxx22] fallout

  • Rafael Sadowski:

    [libcxx22] fallout