Re: Building certain ports fails with errors in system C++ libraries

From: Dimitry Andric <dim_at_FreeBSD.org>
Date: Fri, 30 Aug 2024 18:36:30 UTC
On 30 Aug 2024, at 20:19, J David <j.david.lists@gmail.com> wrote:
> 
> On Fri, Aug 30, 2024 at 1:54 PM Dimitry Andric <dim@freebsd.org> wrote:
>> This is the problem: do not redefine identifiers like this, as it leads
>> to problems. Try renaming this macro to "my_hex", "le_hex" or anything
>> but "hex". :)
> 
> /usr/include/c++/v1/ios is the system C++ standard library include
> file for streams.
> 
> The "edit.h" file in this case comes from the port. Which the
> automated infrastructure for official FreeBSD packages is (somehow)
> able to build. But how?!

The builders use an older version of the system than you.

Try using the attached patch.

-Dimitry