[Bug 260899] emulators/qemu-user-static: (and -devel) failing because of change to swapoff(2) in -current

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 03 Jan 2022 01:49:29 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=260899

            Bug ID: 260899
           Summary: emulators/qemu-user-static: (and -devel) failing
                    because of change to swapoff(2) in -current
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: emulation@FreeBSD.org
          Reporter: beldin@beldin.org
             Flags: maintainer-feedback?(emulation@FreeBSD.org)
          Assignee: emulation@FreeBSD.org

Both the qemu-user-static ports are failing during build because swapoff(2) had
an extra argument added to -CURRENT by patch
5346570276a5ddfd5f530201fcbf24ddcc53033d on Dec 8th. 

This patch fixes either of them for building under -CURRENT after this commit.
I'm not sure how to make the patch conditional on FreeBSD version however.

-- 
You are receiving this mail because:
You are the assignee for the bug.