commit:     21d32e0fb70d51312fe16a74c6c6efa5fe3b1e3c
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 28 15:44:34 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Dec 28 16:30:10 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=21d32e0f

Add C23 patch

Bug: https://bugs.gentoo.org/946955
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 patches/029_virtualbox-7.1.4_C23.patch | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/patches/029_virtualbox-7.1.4_C23.patch 
b/patches/029_virtualbox-7.1.4_C23.patch
new file mode 100644
index 0000000..2ff466e
--- /dev/null
+++ b/patches/029_virtualbox-7.1.4_C23.patch
@@ -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)

Reply via email to