git: 612ffa0271c2 - main - emulators/virtualbox-ose: fix build emulators/virtualbox-ose-additions{,-nox11} on main: error: unknown type name 'uma_zone_t'
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 14 Jul 2024 14:21:04 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=612ffa0271c25c55ac3d1492f1ad361ff76e0667 commit 612ffa0271c25c55ac3d1492f1ad361ff76e0667 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-07-14 14:13:26 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-14 14:13:26 +0000 emulators/virtualbox-ose: fix build emulators/virtualbox-ose-additions{,-nox11} on main: error: unknown type name 'uma_zone_t' In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-6.1.50/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c:42: /wrkdirs/usr/ports/emulators/virtualbox-ose-additions/work/VirtualBox-6.1.50/src/VBox/Additions/freebsd/vboxvfs/vboxvfs.h:209:2: error: unknown type name 'uma_zone_t' 209 | uma_zone_t sf_node_pool; | ^ Reported by: pkg-fallout MFH: 2024Q3 --- .../files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c | 3 ++- .../files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c index bf094e6a854a..340e72a1578d 100644 --- a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c +++ b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c @@ -1,6 +1,6 @@ --- src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c.orig 2020-06-26 09:59:35 UTC +++ src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c -@@ -0,0 +1,1020 @@ +@@ -0,0 +1,1021 @@ +/* + * Copyright (C) 2008-2016 Oracle Corporation + * @@ -42,6 +42,7 @@ +#include <vm/vm_map.h> +#include <vm/vm_object.h> +#include <vm/vm_extern.h> ++#include <vm/uma.h> +#include "vboxvfs.h" + +#define DIRENT_RECLEN(namelen) \ diff --git a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c index be9d416aa3bf..8fa76bdf2b8a 100644 --- a/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c +++ b/emulators/virtualbox-ose/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c @@ -38,7 +38,8 @@ -#include <iprt/mem.h> +#include <geom/geom.h> +#include <geom/geom_vfs.h> - +- ++#include <vm/uma.h> +#include "vboxvfs.h" + #define VFSMP2SFGLOBINFO(mp) ((struct sf_glob_info *)mp->mnt_data)