sci-libs/silo: fix build with minimal QT

Closes: https://bugs.gentoo.org/831361
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
Ionen Wolkens
2022-01-19 16:40:34 -05:00
parent b49107af01
commit 4e9ea43849
2 changed files with 12 additions and 0 deletions

View File

@@ -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 = %

View File

@@ -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() {