public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2024-12-29  9:56 Viorel Munteanu
  0 siblings, 0 replies; 6+ 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] 6+ 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; 6+ 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] 6+ 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; 6+ 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] 6+ messages in thread

* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2025-05-08  6:24 Viorel Munteanu
  0 siblings, 0 replies; 6+ messages in thread
From: Viorel Munteanu @ 2025-05-08  6:24 UTC (permalink / raw
  To: gentoo-commits

commit:     75278e64627cd70288313193d0ee430ff9d049c9
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu May  8 06:23:08 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Thu May  8 06:23:08 2025 +0000
URL:        https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=75278e64

Remove patch from libxml2-2.12.5, no longer needed

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 patches/021_virtualbox-7.0.16-libxml2-2.12.5.patch | 33 ----------------------
 1 file changed, 33 deletions(-)

diff --git a/patches/021_virtualbox-7.0.16-libxml2-2.12.5.patch b/patches/021_virtualbox-7.0.16-libxml2-2.12.5.patch
deleted file mode 100644
index 2ef7557..0000000
--- a/patches/021_virtualbox-7.0.16-libxml2-2.12.5.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Bug: https://bugs.gentoo.org/922445
-
-The change in libxml2 is not backwards compatibe.
-
-The upstream change is in include/libxml/xmlerror.h:
-
- typedef xmlError *xmlErrorPtr;
-
--typedef void (*xmlStructuredErrorFunc) (void *userData, xmlErrorPtr error);
-+typedef void (*xmlStructuredErrorFunc) (void *userData, const xmlError *error);
-
-Upstream fixed it for dev-libs/libxml2-2.12.6, but we need the fix for 2.12.5 as well.
-
---- a/src/VBox/Runtime/r3/xml.cpp
-+++ b/src/VBox/Runtime/r3/xml.cpp
-@@ -1856,7 +1856,7 @@
-     va_end(args);
- }
- 
--#if LIBXML_VERSION >= 21206
-+#if LIBXML_VERSION >= 21205
- static void xmlStructuredErrorFunc(void *userData, const xmlError *error)  RT_NOTHROW_DEF
- {
-     NOREF(userData);
-@@ -1878,7 +1878,7 @@
-         throw std::bad_alloc();
-     /* per-thread so it must be here */
-     xmlSetGenericErrorFunc(NULL, xmlParserBaseGenericError);
--#if LIBXML_VERSION >= 21206
-+#if LIBXML_VERSION >= 21205
-     xmlSetStructuredErrorFunc(NULL, xmlStructuredErrorFunc);
- #else
-     xmlSetStructuredErrorFunc(NULL, xmlParserBaseStructuredError);


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2025-07-23  5:07 Viorel Munteanu
  0 siblings, 0 replies; 6+ messages in thread
From: Viorel Munteanu @ 2025-07-23  5:07 UTC (permalink / raw
  To: gentoo-commits

commit:     e0c7b25ca240e9093c57eb63169f947b328f6d99
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 23 04:53:53 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 04:53:53 2025 +0000
URL:        https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=e0c7b25c

Update patch for embedded dxvk lib

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 patches/023_virtualbox-7.0.6-gcc-13.patch | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/patches/023_virtualbox-7.0.6-gcc-13.patch b/patches/023_virtualbox-7.0.6-gcc-13.patch
index 16abbea..53763be 100644
--- a/patches/023_virtualbox-7.0.6-gcc-13.patch
+++ b/patches/023_virtualbox-7.0.6-gcc-13.patch
@@ -2,8 +2,8 @@ Add a few missing includes.
 
 Bug: https://bugs.gentoo.org/892852
 
---- a/src/libs/dxvk-2.3.1/src/util/util_matrix.cpp
-+++ b/src/libs/dxvk-2.3.1/src/util/util_matrix.cpp
+--- a/src/libs/dxvk-2.6.2/src/util/util_matrix.cpp
++++ b/src/libs/dxvk-2.6.2/src/util/util_matrix.cpp
 @@ -1,3 +1,4 @@
 +#include <cstdint>
  #include "util_matrix.h"
@@ -16,8 +16,8 @@ Bug: https://bugs.gentoo.org/892852
 -}
 \ No newline at end of file
 +}
---- a/src/libs/dxvk-2.3.1/src/util/util_vector.h
-+++ b/src/libs/dxvk-2.3.1/src/util/util_vector.h
+--- a/src/libs/dxvk-2.6.2/src/util/util_vector.h
++++ b/src/libs/dxvk-2.6.2/src/util/util_vector.h
 @@ -1,6 +1,7 @@
  #pragma once
  


^ permalink raw reply related	[flat|nested] 6+ messages in thread

* [gentoo-commits] proj/virtualbox-patches:branch-7.2 commit in: patches/
@ 2025-07-23  5:07 Viorel Munteanu
  0 siblings, 0 replies; 6+ messages in thread
From: Viorel Munteanu @ 2025-07-23  5:07 UTC (permalink / raw
  To: gentoo-commits

commit:     2ff3aef792dca9939fac29dcc977e79d27bc9290
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  5 06:44:21 2025 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Wed Jul 23 04:48:54 2025 +0000
URL:        https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=2ff3aef7

Update python patch

Remove all that python versions enumeration, we have the include file
from the ebuild.

Signed-off-by: Viorel Munteanu <ceamac <AT> gentoo.org>

 ...python.patch => 026_virtualbox-7.1.10-python.patch} | 18 +++++++++++++++---
 1 file changed, 15 insertions(+), 3 deletions(-)

diff --git a/patches/026_virtualbox-7.1.0_pre1-python.patch b/patches/026_virtualbox-7.1.10-python.patch
similarity index 56%
rename from patches/026_virtualbox-7.1.0_pre1-python.patch
rename to patches/026_virtualbox-7.1.10-python.patch
index 73d5296..af8f2e2 100644
--- a/patches/026_virtualbox-7.1.0_pre1-python.patch
+++ b/patches/026_virtualbox-7.1.10-python.patch
@@ -4,11 +4,22 @@ use it.
 
 Upstream added support for pyton up to 3.12.
 
+Remove version enumeration, always use VBOX_PATH_PYTHON_INC.
+
 --- a/src/libs/xpcom18a4/python/Makefile.kmk
 +++ b/src/libs/xpcom18a4/python/Makefile.kmk
-@@ -704,13 +704,6 @@
+@@ -700,22 +700,11 @@
+   # TODO: ASSUMING that we don't need a different headers for pymalloc
+   #       ('m' builds < 3.8) and CRT malloc.
+   #
+-  VBOX_PYTHON_LIMITED_API_VER := $(firstword $(foreach ver, 35 36 37 38 39 310 311 312   34 33 \
+-  			,$(if-expr defined(VBOX_PYTHON$(ver)_INC),$(ver),)$(if-expr defined(VBOX_PYTHON$(ver)M_INC),$(ver)M,)))
+-  ifneq ($(VBOX_PYTHON_LIMITED_API_VER),)
+    DLLS += VBoxPython3
+    VBoxPython3_EXTENDS   = VBoxPythonBase
     VBoxPython3_DEFS      = $(filter-out VBOX_PYXPCOM_VERSIONED,$(VBoxPythonBase_DEFS)) Py_LIMITED_API=0x03030000
-    VBoxPython3_INCS      = $(VBoxPythonBase_INCS) $(VBOX_PYTHON$(VBOX_PYTHON_LIMITED_API_VER)_INC)
+-   VBoxPython3_INCS      = $(VBoxPythonBase_INCS) $(VBOX_PYTHON$(VBOX_PYTHON_LIMITED_API_VER)_INC)
++   VBoxPython3_INCS      = $(VBoxPythonBase_INCS) $(VBOX_PATH_PYTHON_INC)
     VBoxPython3_LDFLAGS.darwin = -undefined dynamic_lookup
 -
 -   ifneq ($(KBUILD_TARGET),darwin)
@@ -17,6 +28,7 @@ Upstream added support for pyton up to 3.12.
 -    VBoxPython3m_DEFS     = $(filter-out VBOX_PYXPCOM_VERSIONED,$(VBoxPythonBase_m_DEFS)) Py_LIMITED_API=0x03030000
 -    VBoxPython3m_INCS     = $(VBoxPythonBase_m_INCS) $(VBOX_PYTHON$(VBOX_PYTHON_LIMITED_API_VER)_INC)
 -   endif
-   endif
+-  endif
   endif # VBOX_WITH_PYTHON_LIMITED_API
  
+ endif # VBOX_ONLY_SDK


^ permalink raw reply related	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2025-07-23  5:07 UTC | newest]

Thread overview: 6+ 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-07-23  5:07 Viorel Munteanu
2025-07-23  5:07 Viorel Munteanu
2025-05-08  6:24 Viorel Munteanu
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