Re: FreeBSD Port: wine-6.0.1_3,1 error build (13-stable)

From: Gerald Pfeifer <gerald_at_pfeifer.com>
Date: Fri, 22 Oct 2021 23:42:31 UTC
I fixed this upstream two months ago with

commit 59da79021a6e441e3b21b933c744aba922208ec1
Author: Gerald Pfeifer <gerald@pfeifer.com>
Date:   Tue Aug 10 22:36:27 2021 +0200

    ntdll: Only use sysinfo function when present.
    
    On some systems <sys/sysinfo.h> may be present while the sysinfo
    function may not, or at least not as part of standard libraries,
    so check whether the function is actually available before using
    it.
    
    This fixes builds on FreeBSD with the devel/libsysinfo present.
    
    Signed-off-by: Gerald Pfeifer <gerald@pfeifer.com>
    Signed-off-by: Alexandre Julliard <julliard@winehq.org>

Easy workarounds on your end for now: build in a clean environment
(just a Poudriere provides), use packages pre-built that way, or
remove the devel/libsysinfo port (at least when building Wine).

I'll also see whether my patch can make it into the Wine 6.0 branch.

Gerald