commit:     4e9ea438490364ebbe1bdc6e83b9f7e77c1f26ca
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 19 21:40:34 2022 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Wed Jan 19 21:43:21 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9ea438

sci-libs/silo: fix build with minimal QT

Closes: https://bugs.gentoo.org/831361
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 sci-libs/silo/files/silo-4.11-widgets.patch | 11 +++++++++++
 sci-libs/silo/silo-4.11-r1.ebuild           |  1 +
 2 files changed, 12 insertions(+)

diff --git a/sci-libs/silo/files/silo-4.11-widgets.patch 
b/sci-libs/silo/files/silo-4.11-widgets.patch
new file mode 100644
index 000000000000..46ef1834ca22
--- /dev/null
+++ b/sci-libs/silo/files/silo-4.11-widgets.patch
@@ -0,0 +1,11 @@
+On a minimal QT installation, widgets may not necessarily be
+added and it needs to be explicitely done. Modifying ./configure
+directly given tarball lacks some files to run eautoreconf.
+
+https://bugs.gentoo.org/831361
+--- a/configure
++++ b/configure
+@@ -25748,2 +25748,3 @@
+ qtHaveModule(testlib):           QT += testlib
++qtHaveModule(widgets):           QT += widgets
+ percent.target = %

diff --git a/sci-libs/silo/silo-4.11-r1.ebuild 
b/sci-libs/silo/silo-4.11-r1.ebuild
index f4c780ba2a3c..3372e92a569c 100644
--- a/sci-libs/silo/silo-4.11-r1.ebuild
+++ b/sci-libs/silo/silo-4.11-r1.ebuild
@@ -31,6 +31,7 @@ PATCHES=(
        "${FILESDIR}"/${P}-test-disable-largefile.patch
        "${FILESDIR}"/${P}-tests.patch
        "${FILESDIR}"/${P}-testsuite-python-write.patch
+       "${FILESDIR}"/${P}-widgets.patch
 )
 
 src_configure() {

Reply via email to