commit:     3d495c946683be0b5bc501b660e83729007a3457
Author:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 14 16:06:30 2024 +0000
Commit:     Viorel Munteanu <ceamac <AT> gentoo <DOT> org>
CommitDate: Sat Sep 14 16:06:30 2024 +0000
URL:        
https://gitweb.gentoo.org/proj/virtualbox-patches.git/commit/?id=3d495c94

Add patch to fix linking with mold

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

 patches/027_virtualbox-7.1.0-link-with-mold.patch | 15 +++++++++++++++
 1 file changed, 15 insertions(+)

diff --git a/patches/027_virtualbox-7.1.0-link-with-mold.patch 
b/patches/027_virtualbox-7.1.0-link-with-mold.patch
new file mode 100644
index 0000000..3fbba09
--- /dev/null
+++ b/patches/027_virtualbox-7.1.0-link-with-mold.patch
@@ -0,0 +1,15 @@
+Add missing transitive dependency to fix linking with mold.
+
+https://bugs.gentoo.org/925347
+
+--- a/src/VBox/Frontends/VirtualBox/Makefile.kmk
++++ b/src/VBox/Frontends/VirtualBox/Makefile.kmk
+@@ -1669,7 +1669,7 @@
+ # The Qt modules we're using.
+ # (The include directory and lib/framework for each module will be added by 
the Qt unit.)
+ #
+-UICommon_QT_MODULES = Core Gui Widgets Help StateMachine
++UICommon_QT_MODULES = Core Gui Widgets Help PrintSupport StateMachine
+ ifdef VBOX_WITH_SCREENSAVER_CONTROL
+  UICommon_QT_MODULES.linux    += DBus
+  UICommon_QT_MODULES.linux    += Xml

Reply via email to