git: 21d79d6e16aa - main - emulators/virtualbox-ose-additons: Fix build on recent head
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 17 Oct 2021 09:32:40 UTC
The branch main has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=21d79d6e16aab2e3aa337901b0f6519c942c55ee commit 21d79d6e16aab2e3aa337901b0f6519c942c55ee Author: Guido Falsi <madpilot@FreeBSD.org> AuthorDate: 2021-10-17 09:28:09 +0000 Commit: Guido Falsi <madpilot@FreeBSD.org> CommitDate: 2021-10-17 09:32:33 +0000 emulators/virtualbox-ose-additons: Fix build on recent head Fix build after head commit b4a58fbf640409a1 (vfs: remove cn_thread) MFH: 2021Q4 --- .../files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c index 904c251395dd..068f98f21d1c 100644 --- a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c +++ b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vnops.c @@ -1,6 +1,6 @@ --- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c.orig 2021-07-28 16:16:27 UTC +++ src/VBox/Additions/freebsd/vboxvfs/vboxvfs_vnops.c -@@ -14,228 +14,1350 @@ +@@ -14,228 +14,1354 @@ * VirtualBox OSE distribution. VirtualBox OSE is distributed in the * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. */ @@ -1397,7 +1397,11 @@ + cnp->cn_flags & DOWHITEOUT && + cnp->cn_flags & ISWHITEOUT))) { + error = VOP_ACCESS(dvp, VWRITE, cnp->cn_cred, ++#if __FreeBSD_version < 1400037 + cnp->cn_thread); ++#else ++ curthread); ++#endif + if (error != 0) + goto out; +