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.