Re: git: 688bd028652d - main - emulators/qemu-user-static: Fix build on recent FreeBSD

From: Larry Rosenman <ler_at_lerctr.org>
Date: Fri, 07 Jan 2022 19:24:54 UTC
this fails on my 13.0-STABLE Jail (LATEST):
https://home.lerctr.org:8888/data/p130-S-amd64-host-ports/2022-01-07_12h58m11s/logs/errors/qemu-user-static-3.1.0_13.log



On 01/06/2022 10:32 pm, Colin Percival wrote:
> The branch main has been updated by cperciva:
> 
> URL:
> https://cgit.FreeBSD.org/ports/commit/?id=688bd028652dc3c6bfe606fd690359060bbd949d
> 
> commit 688bd028652dc3c6bfe606fd690359060bbd949d
> Author:     Colin Percival <cperciva@FreeBSD.org>
> AuthorDate: 2022-01-07 04:27:11 +0000
> Commit:     Colin Percival <cperciva@FreeBSD.org>
> CommitDate: 2022-01-07 04:32:45 +0000
> 
>     emulators/qemu-user-static: Fix build on recent FreeBSD
> 
>     The swapoff(2) syscall recently changed from taking a single
>     argument to taking two (adding a field used for a "force" flag);
>     this broke qemu-user, since it translates system calls from
>     guest to host architecture.
> 
>     Thanks to:      imp
>     With hat:       re@
>     Sponsored by:   https://www.patreon.com/cperciva

-- 
Larry Rosenman                     http://www.lerctr.org/~ler
Phone: +1 214-642-9640                 E-Mail: ler@lerctr.org
US Mail: 5708 Sabbia Dr, Round Rock, TX 78665-2106