* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2024-12-29 9:56 Viorel Munteanu
0 siblings, 0 replies; 3+ messages in thread
From: Viorel Munteanu @ 2024-12-29 9:56 UTC (permalink / raw
To: gentoo-commits
commit: 1c594be1ecfaf6a0b0a9acb0d546e7076c83acde
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 17:14:29 2024 +0000
URL: https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=1c594be1
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)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2024-12-29 9:56 Viorel Munteanu
0 siblings, 0 replies; 3+ messages in thread
From: Viorel Munteanu @ 2024-12-29 9:56 UTC (permalink / raw
To: gentoo-commits
commit: 745e63896e35b76de6516146f8abd3220517c648
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 29 09:54:44 2024 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sun Dec 29 09:54:44 2024 +0000
URL: https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=745e6389
Fix C23 issue while compiling a kernel module
When compiling the kernel module, stdbool.h is not available.
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
patches/029_virtualbox-7.1.4_C23.patch | 12 +++++++++---
1 file changed, 9 insertions(+), 3 deletions(-)
diff --git a/patches/029_virtualbox-7.1.4_C23.patch b/patches/029_virtualbox-7.1.4_C23.patch
index 2ff466e..4544fb0 100644
--- a/patches/029_virtualbox-7.1.4_C23.patch
+++ b/patches/029_virtualbox-7.1.4_C23.patch
@@ -2,13 +2,19 @@ https://bugs.gentoo.org/946955
--- a/include/iprt/types.h
+++ b/include/iprt/types.h
-@@ -281,8 +281,7 @@
+@@ -281,8 +281,14 @@
typedef _Bool bool;
# endif
# else
-# undef bool /* see above netbsd explanation */
--typedef _Bool bool;
-+# include <stdbool.h>
++# if defined(__KERNEL__)
++# if __STDC_VERSION__ < 202311L
++# undef bool /* see above netbsd explanation */
+ typedef _Bool bool;
++# endif
++# else
++# include <stdbool.h>
++# endif
# endif
# else
# if RT_MSC_PREREQ(RT_MSC_VER_VC120)
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2025-01-06 16:42 Viorel Munteanu
0 siblings, 0 replies; 3+ messages in thread
From: Viorel Munteanu @ 2025-01-06 16:42 UTC (permalink / raw
To: gentoo-commits
commit: a667e45820ee69833facbfcb177bd722ed0d4767
Author: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Mon Jan 6 16:26:27 2025 +0000
Commit: Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Mon Jan 6 16:40:14 2025 +0000
URL: https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=a667e458
Fix too big PXE NetBiosBinary
Bug: https://bugs.gentoo.org/947372
Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>
...e-keep-size.patch => 024_virtualbox-7.0.22-ipxe-small-size.patch} | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/patches/024_virtualbox-7.0.8-mtune-keep-size.patch b/patches/024_virtualbox-7.0.22-ipxe-small-size.patch
similarity index 77%
rename from patches/024_virtualbox-7.0.8-mtune-keep-size.patch
rename to patches/024_virtualbox-7.0.22-ipxe-small-size.patch
index e37d9d6..1b5f11f 100644
--- a/patches/024_virtualbox-7.0.8-mtune-keep-size.patch
+++ b/patches/024_virtualbox-7.0.22-ipxe-small-size.patch
@@ -1,13 +1,16 @@
Force -mtune=i386. Random -mtune can lead to iPxeBiosBin.rom getting too
large (larger than 56k). This can happen because we support custom CFLAGS.
+Also disable -funroll-loops, see bug https://bugs.gentoo.org/947372
+
--- a/src/VBox/Devices/PC/ipxe/Makefile.kmk
+++ b/src/VBox/Devices/PC/ipxe/Makefile.kmk
-@@ -125,6 +125,7 @@
+@@ -125,6 +125,8 @@
-ffreestanding \
-ffunction-sections \
-march=i386 \
+ -mtune=i386 \
++ -fno-unroll-loops \
-fomit-frame-pointer \
-fstrength-reduce \
-falign-jumps=1 \
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-01-06 16:42 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2024-12-29 9:56 [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/ Viorel Munteanu
-- strict thread matches above, loose matches on Subject: below --
2025-01-06 16:42 Viorel Munteanu
2024-12-29 9:56 Viorel Munteanu
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox