1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-29 05:38:00 +00:00

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
This commit is contained in:
Vladimir Druzenko 2024-07-14 17:18:51 +03:00
parent 612ffa0271
commit 6c6dcbf4e4
2 changed files with 4 additions and 2 deletions

View File

@ -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) \

View File

@ -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)