Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Jan 2022 13:38:45 +0100 (CET)
From:      Gerald Pfeifer <gerald@pfeifer.com>
To:        "Alex V. Petrov" <alexvpetrov@gmail.com>
Cc:        ports@FreeBSD.org
Subject:   Re: FreeBSD Port: wine-6.0.1_3,1 error build (13-stable)
Message-ID:  <8ccd51b9-e7ed-f286-c6b3-6debcfebcc8b@pfeifer.com>
In-Reply-To: <66a61650-df34-a496-99e5-54651eb23464@pfeifer.com>
References:  <e5d04b9b-0e32-0010-c203-2efd5971cffc@gmail.com> <66a61650-df34-a496-99e5-54651eb23464@pfeifer.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 23 Oct 2021, Gerald Pfeifer wrote:
> 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).

emulators/wine-devel now also has that fix backported from mainline Wine.

Gerald



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?8ccd51b9-e7ed-f286-c6b3-6debcfebcc8b>