1
0
forked from pool/virtualbox

Fix building with GCC 15 [boo#1242085] #6

Merged
jengelh merged 1 commits from :master into master 2025-05-27 18:15:23 +02:00
3 changed files with 22 additions and 0 deletions

14
gentoo-C23.patch Normal file
View File

@@ -0,0 +1,14 @@
https://bugs.gentoo.org/946955
--- a/include/iprt/types.h
+++ b/include/iprt/types.h
@@ -281,8 +281,7 @@
typedef _Bool bool;
# endif
# else
-# undef bool /* see above netbsd explanation */
-typedef _Bool bool;
+# include <stdbool.h>
# endif
# else
# if RT_MSC_PREREQ(RT_MSC_VER_VC120)

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue May 27 15:19:29 UTC 2025 - Martin Jambor <mjambor@suse.cz>
- Add gentoo-C23.patch, taken from the corresponding gentoo
package, to fix building with GCC 15 where the C language
defaults to standard C23. [boo#1242085]
-------------------------------------------------------------------
Wed Apr 16 13:59:59 UTC 2025 - Jan Engelhardt <jengelh@inai.de>

View File

@@ -131,6 +131,7 @@ Patch16: kernel-6-15-timer.patch
Patch17: kernel-6-15-mkdir.patch
Patch18: kernel-6-15-mode_valid.patch
Patch19: kernel-6-15-fb_probe.patch
Patch20: gentoo-C23.patch
#
# Common BuildRequires for both virtualbox and virtualbox-kmp
BuildRequires: %{kernel_module_package_buildreqs}