git: 6c6dcbf4e486 - main - emulators/virtualbox-ose-legacy: fix build emulators/virtualbox-ose-additions{,-nox11}-legacy 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:05 UTC
The branch main has been updated by vvd: URL: https://cgit.FreeBSD.org/ports/commit/?id=6c6dcbf4e4864cb61234a3d09a73d0d607fbe657 commit 6c6dcbf4e4864cb61234a3d09a73d0d607fbe657 Author: Vladimir Druzenko <vvd@FreeBSD.org> AuthorDate: 2024-07-14 14:18:51 +0000 Commit: Vladimir Druzenko <vvd@FreeBSD.org> CommitDate: 2024-07-14 14:18:51 +0000 emulators/virtualbox-ose-legacy: fix build emulators/virtualbox-ose-additions{,-nox11}-legacy on main: error: unknown type name 'uma_zone_t' In file included from /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs_prov.c:42: /wrkdirs/usr/ports/emulators/virtualbox-ose-additions-legacy/work/VirtualBox-5.2.44/src/VBox/Additions/freebsd/vboxvfs/vboxvfs.h:242:2: error: unknown type name 'uma_zone_t' 242 | 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-legacy/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c b/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c index bf094e6a854a..340e72a1578d 100644 --- a/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__prov.c +++ b/emulators/virtualbox-ose-legacy/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-legacy/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c b/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c index 9f56989aa920..6843bcd87c12 100644 --- a/emulators/virtualbox-ose-legacy/files/patch-src_VBox_Additions_freebsd_vboxvfs_vboxvfs__vfsops.c +++ b/emulators/virtualbox-ose-legacy/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)