From nobody Fri Mar 13 08:28:43 2026 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4fXHgv6RhYz6Vhg3 for ; Fri, 13 Mar 2026 08:28:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id 4fXHgv5mqGz3wNf for ; Fri, 13 Mar 2026 08:28:43 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Sf+5bMluyxrNq8BRMjFP3rH1Ub1QiJjkIlHciScG9Hw=; b=TE7hA9sn3wX0GF+f6G02wi4vH7lB8yNdv+egv0MPvBvDl11Yh+YMvHueISJmriYNpZNgIT bq4X+3/yEF6xtCS9g4tw+c89U+z5zRxywet8op9PudBE9+ZmpvmdnAlkyDpz9LdJbca+TZ RP8nsH8Top/K3RW6gIZAgVSN9QQVKOzPXMFtRcehPxvsy5FtjxD6+AaO33ONEYg+WM8kSi 5+p+Rh+nZiOY2PDPvRTZnitIfx3lVTgOXx7X3nAfHHfBPBoSP37QYm5eHLkHDwCS0ZYSTQ ZWy6wa79HIa6olhW46LbcXD9xPOeKwaLI24e0eOh4cXHOF98ECcvDD8LDp18kQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1773390523; a=rsa-sha256; cv=none; b=pi+e3n5c4sJh1ZaV20Mgxa9dhDn8W4mZ/nRmhicyWHK8vZcekDx7uPaJ99AyApfqdlBx48 ewhB7oYIC3Vj/EQgnzgc0CCvkGb5H4xUa3z2Yngpa2ijFe0IZxVePP8rb+DLMtufmA1Qqp 5WD2cERa15dxAMdtNm5uqknVQ1kf7zpAMo5+C7LlrPzdqWrWFWAo9v9gjmQc+nCv8+kdsO KYxl4wmsvegE7ttKpFnS+IHKA2OpympRsdvz1xYSLLWhKfSuf+lsZ4KHjFAmRF5z8yOZF/ uUfAuce2dQTUTtdzrODUcoVYFjCqpdEvh5h0rTFSDngTRgp/0qE8Xo4CdQQ00A== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1773390523; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=Sf+5bMluyxrNq8BRMjFP3rH1Ub1QiJjkIlHciScG9Hw=; b=kdQ0iUdwcn5YBqU/bH5U2IUo48WzwGuq2p6Sjkg3t5bu8koLOKvcJ+zW4P65l1xd7ghRMC d8+WpcNm1k0Jm9UjW7UwmwGXNHJcCfbrBDkp/IgrAJywAIyrFy2QTJa4PKqDV3X0GHHmeu sBhHiYN9ZySDaVsP+4vaRTeluPfy9rgV1ovRXnQPqKidtpmPyOUXJXHnUBJqUTzBU/Mtax NlcRIdcr/w99cGJfTOEs9ordSfjk8w6y6EiTQQJIVcSGlIswCvzkUzTcwwUAhF8OPzYXx9 pOK7Yl8HuLVZZxYsljgw8X3/yaec1QRtbcGrPsxtUdhVRk4TY1I7zCEIkPoa8w== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4fXHgv5G3Yz82p for ; Fri, 13 Mar 2026 08:28:43 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 392e7 by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Fri, 13 Mar 2026 08:28:43 +0000 To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: b8cec75ffb19 - main - textproc/lttoolbox: fix build with libc++ 21 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: b8cec75ffb19bd54b5d9d490dd3b2077e7a5ad42 Auto-Submitted: auto-generated Date: Fri, 13 Mar 2026 08:28:43 +0000 Message-Id: <69b3cabb.392e7.1cf788b8@gitrepo.freebsd.org> The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=b8cec75ffb19bd54b5d9d490dd3b2077e7a5ad42 commit b8cec75ffb19bd54b5d9d490dd3b2077e7a5ad42 Author: Dimitry Andric AuthorDate: 2026-02-18 20:15:45 +0000 Commit: Dimitry Andric CommitDate: 2026-03-13 08:28:22 +0000 textproc/lttoolbox: fix build with libc++ 21 With libc++ 21 textproc/lttoolbox fails to build, with errors similar to: In file included from /wrkdirs/usr/ports/textproc/lttoolbox/work/lttoolbox-3.8.0/lttoolbox/acx.cc:17: In file included from /wrkdirs/usr/ports/textproc/lttoolbox/work/lttoolbox-3.8.0/lttoolbox/acx.h:20: In file included from /wrkdirs/usr/ports/textproc/lttoolbox/work/lttoolbox-3.8.0/lttoolbox/sorted_vector.hpp:25: In file included from /usr/include/c++/v1/iterator:698: /usr/include/c++/v1/__iterator/ostream_iterator.h:62:20: error: invalid operands to binary expression ('ostream_type' (aka 'basic_ostream>') and 'const char') 62 | *__out_stream_ << __value; | ~~~~~~~~~~~~~~ ^ ~~~~~~~ /usr/local/include/utf8cpp/utf8/core.h:358:25: note: in instantiation of member function 'std::ostream_iterator::operator=' requested here 358 | *(result++) = static_cast(cp); | ^ /usr/local/include/utf8cpp/utf8/core.h:398:16: note: in instantiation of function template specialization 'utf8::internal::append, char8_t>' requested here 398 | return append(cp, result); | ^ /usr/local/include/utf8cpp/utf8/checked.h:79:26: note: in instantiation of function template specialization 'utf8::internal::append>' requested here 79 | return internal::append(cp, result); | ^ /usr/local/include/utf8cpp/utf8/checked.h:248:28: note: in instantiation of function template specialization 'utf8::append>' requested here 248 | result = utf8::append(cp, result); | ^ /wrkdirs/usr/ports/textproc/lttoolbox/work/lttoolbox-3.8.0/lttoolbox/ustring.h:44:9: note: in instantiation of function template specialization 'utf8::utf16to8>' requested here 44 | utf8::utf16to8(&c, &c+1, std::ostream_iterator(ostr)); | ^ This is because ustring.h includes instead of , and libc++ 21 has reduced the number of transitive includes. Replace with to fix this. PR: 293268 Approved by: maintainer timeout (2 weeks) MFH: 2026Q1 --- textproc/lttoolbox/files/patch-lttoolbox_ustring.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/textproc/lttoolbox/files/patch-lttoolbox_ustring.h b/textproc/lttoolbox/files/patch-lttoolbox_ustring.h new file mode 100644 index 000000000000..5dcd6478d3c5 --- /dev/null +++ b/textproc/lttoolbox/files/patch-lttoolbox_ustring.h @@ -0,0 +1,11 @@ +--- lttoolbox/ustring.h.orig 2025-03-06 14:48:10 UTC ++++ lttoolbox/ustring.h +@@ -25,7 +25,7 @@ + #include + #include + #include +-#include ++#include + + typedef std::basic_string UString; + typedef std::basic_string_view UStringView;