vboxguestdrivers: Upgrade to 7.2.0

Drop c23 std compile time fix, its already upstream

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2025-08-26 10:34:01 -07:00
parent fa1a8cd51b
commit 50dce858cd
2 changed files with 1 additions and 31 deletions

View File

@@ -1,28 +0,0 @@
From 76c443dfd209ddbed3ed4102596a568670d4c59f Mon Sep 17 00:00:00 2001
From: Khem Raj <raj.khem@gmail.com>
Date: Thu, 1 May 2025 20:16:11 -0700
Subject: [PATCH] fix bool reserved word error in gcc 15
gcc-15 switched to -std=c23 by default. https://gcc.gnu.org/git/?p=gcc.git;a=commitdiff;h=55e3bd376b2214e200fa76d12b67ff259b06c212
Upstream-Status: Submitted [https://www.virtualbox.org/pipermail/vbox-dev/2025-May/010316.html]
Signed-off-by: Khem Raj <raj.khem@gmail.com>
---
vboxsf/include/iprt/types.h | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/vboxsf/include/iprt/types.h b/vboxsf/include/iprt/types.h
index 3bcc4146..33b46ef6 100644
--- a/vboxsf/include/iprt/types.h
+++ b/vboxsf/include/iprt/types.h
@@ -282,7 +282,9 @@ typedef _Bool bool;
# endif
# else
# undef bool /* see above netbsd explanation */
-typedef _Bool bool;
+# if defined __STDC__ && defined __STDC_VERSION__ && __STDC_VERSION__ <= 201710L
+ typedef _Bool bool;
+# endif
# endif
# else
# if RT_MSC_PREREQ(RT_MSC_VER_VC120)

View File

@@ -13,10 +13,8 @@ VBOX_NAME = "VirtualBox-${PV}"
SRC_URI = "http://download.virtualbox.org/virtualbox/${PV}/${VBOX_NAME}.tar.bz2 \
file://Makefile.utils \
file://0001-fix-bool-reserved-word-error-in-gcc-15.patch \
"
SRC_URI[sha256sum] = "6f9618f39168898134975f51df7c2d6d5129c0aa82b6ae11cf47f920c70df276"
SRC_URI[sha256sum] = "4f2804ff27848ea772aee6b637bb1e10ee74ec2da117c257413e2d2c4f670ba0"
S ?= "${UNPACKDIR}/vbox_module"
S:task-unpack = "${UNPACKDIR}/${VBOX_NAME}"