Summary: | emulators/virtualbox-ose-kmod: Fails to build after recent changes to vm_map_protect(9) | ||||||
---|---|---|---|---|---|---|---|
Product: | Ports & Packages | Reporter: | Mateusz Piotrowski <0mp> | ||||
Component: | Individual Port(s) | Assignee: | Virtualbox Team (Nobody) <vbox> | ||||
Status: | Closed DUPLICATE | ||||||
Severity: | Affects Some People | CC: | cy, madpilot | ||||
Priority: | --- | Flags: | bugzilla:
maintainer-feedback?
(vbox) 0mp: merge-quarterly? |
||||
Version: | Latest | ||||||
Hardware: | Any | ||||||
OS: | Any | ||||||
Attachments: |
|
Description
Mateusz Piotrowski
2021-01-23 19:51:21 UTC
Created attachment 221880 [details]
Untested patch
I have an untested patch I'm attaching.
I'm going to test it myself later. My machines are busy right now and testing this has to wait.
The commit causing the failure is 0659df6faddf on src. By looking at the changes in that commit I corrected the vm_map_protect call.
I wrapped it in a check on __FreeBSD_version choosing the nearest one.
I'll report back once I have tested this patch myself.
I've successfully build virtualbox-ose and virtualbox-ose-kmod with this patch. Thanks a lot! Just in case, I'm running FreeBSD 14.0-CURRENT #5 main-c256217-g6c789c55c4ba. I now noticed bug #252675 about this same issue, marking this one as duplicate. *** This bug has been marked as a duplicate of bug 252675 *** |