Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 14 Jul 2024 14:22:47 GMT
From:      Vladimir Druzenko <vvd@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: ecbc62e6c40c - 2024Q3 - emulators/virtualbox-ose: fix build emulators/virtualbox-ose-additions{,-nox11} on main: error: unknown type name 'uma_zone_t'
Message-ID:  <202407141422.46EEMl7C002058@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q3 has been updated by vvd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=ecbc62e6c40c3a068e669b3d2fccc1e31ae96b02

commit ecbc62e6c40c3a068e669b3d2fccc1e31ae96b02
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:22:25 +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
    
    (cherry picked from commit 612ffa0271c25c55ac3d1492f1ad361ff76e0667)
---
 .../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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407141422.46EEMl7C002058>