From 30114ae8ef07a32fea1e44a10b61f98c84142645 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 20 Jul 2023 13:07:51 +0100 Subject: gentoo auto-resync : 20:07:2023 - 13:07:51 --- .../virtualbox/files/virtualbox-7.0.10-python.patch | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 app-emulation/virtualbox/files/virtualbox-7.0.10-python.patch (limited to 'app-emulation/virtualbox/files/virtualbox-7.0.10-python.patch') diff --git a/app-emulation/virtualbox/files/virtualbox-7.0.10-python.patch b/app-emulation/virtualbox/files/virtualbox-7.0.10-python.patch new file mode 100644 index 000000000000..f972580cb6c5 --- /dev/null +++ b/app-emulation/virtualbox/files/virtualbox-7.0.10-python.patch @@ -0,0 +1,18 @@ +Virtualbox 7.x will only build a lib named VBoxPython3.so, regardless of the +actual python version used when compiling. Remove VBoxPython3m.so, we don't +use it. + +--- a/src/libs/xpcom18a4/python/Makefile.kmk ++++ b/src/libs/xpcom18a4/python/Makefile.kmk +@@ -693,11 +693,6 @@ + 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) +- +- DLLS += VBoxPython3m +- VBoxPython3m_EXTENDS = VBoxPythonBase_m +- 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 # VBOX_WITH_PYTHON_LIMITED_API + -- cgit v1.2.3