[Bug 286718] emulators/virtualbox-ose-additions(-legacy): fix build on OSVERSION>=1500038

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 11 May 2025 04:52:19 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=286718

            Bug ID: 286718
           Summary: emulators/virtualbox-ose-additions(-legacy): fix build
                    on OSVERSION>=1500038
           Product: Ports & Packages
           Version: Latest
          Hardware: amd64
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: Individual Port(s)
          Assignee: ports-bugs@FreeBSD.org
          Reporter: takahiro.kurosawa@gmail.com

Created attachment 260322
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=260322&action=edit
proposed patch

On 15-CURRENT, building virtualbox-ose-additions(-legacy) fails in
mount_vboxvfs
because mntopts(3) has been moved to libutil:

https://cgit.freebsd.org/src/commit/sbin/mount?id=cda23fc36d22bfa9d57d1a57c0daaeeb86bac94f

The attached patch is tested on 14-STABLE and 15-CURRENT(FreeBSD_version:
1500042).

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