Date: Sun, 17 Oct 2021 09:33:53 GMT From: Guido Falsi <madpilot@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org Subject: git: 2040f3e69339 - 2021Q4 - emulators/virtualbox-ose-additons: Fix build on recent head Message-ID: <202110170933.19H9Xr1a074093@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch 2021Q4 has been updated by madpilot: URL: https://cgit.FreeBSD.org/ports/commit/?id=2040f3e693391aa917798ec90cd244eda81185e1 commit 2040f3e693391aa917798ec90cd244eda81185e1 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:33:24 +0000 emulators/virtualbox-ose-additons: Fix build on recent head Fix build after head commit b4a58fbf640409a1 (vfs: remove cn_thread) MFH: 2021Q4 (cherry picked from commit 21d79d6e16aab2e3aa337901b0f6519c942c55ee) --- .../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; +
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202110170933.19H9Xr1a074093>