Gentoo Archives: gentoo-commits

From: Ionen Wolkens <ionen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-libs/silo/files/, sci-libs/silo/
Date: Wed, 19 Jan 2022 21:45:18
Message-Id: 1642628601.4e9ea438490364ebbe1bdc6e83b9f7e77c1f26ca.ionen@gentoo
1 commit: 4e9ea438490364ebbe1bdc6e83b9f7e77c1f26ca
2 Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jan 19 21:40:34 2022 +0000
4 Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
5 CommitDate: Wed Jan 19 21:43:21 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e9ea438
7
8 sci-libs/silo: fix build with minimal QT
9
10 Closes: https://bugs.gentoo.org/831361
11 Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>
12
13 sci-libs/silo/files/silo-4.11-widgets.patch | 11 +++++++++++
14 sci-libs/silo/silo-4.11-r1.ebuild | 1 +
15 2 files changed, 12 insertions(+)
16
17 diff --git a/sci-libs/silo/files/silo-4.11-widgets.patch b/sci-libs/silo/files/silo-4.11-widgets.patch
18 new file mode 100644
19 index 000000000000..46ef1834ca22
20 --- /dev/null
21 +++ b/sci-libs/silo/files/silo-4.11-widgets.patch
22 @@ -0,0 +1,11 @@
23 +On a minimal QT installation, widgets may not necessarily be
24 +added and it needs to be explicitely done. Modifying ./configure
25 +directly given tarball lacks some files to run eautoreconf.
26 +
27 +https://bugs.gentoo.org/831361
28 +--- a/configure
29 ++++ b/configure
30 +@@ -25748,2 +25748,3 @@
31 + qtHaveModule(testlib): QT += testlib
32 ++qtHaveModule(widgets): QT += widgets
33 + percent.target = %
34
35 diff --git a/sci-libs/silo/silo-4.11-r1.ebuild b/sci-libs/silo/silo-4.11-r1.ebuild
36 index f4c780ba2a3c..3372e92a569c 100644
37 --- a/sci-libs/silo/silo-4.11-r1.ebuild
38 +++ b/sci-libs/silo/silo-4.11-r1.ebuild
39 @@ -31,6 +31,7 @@ PATCHES=(
40 "${FILESDIR}"/${P}-test-disable-largefile.patch
41 "${FILESDIR}"/${P}-tests.patch
42 "${FILESDIR}"/${P}-testsuite-python-write.patch
43 + "${FILESDIR}"/${P}-widgets.patch
44 )
45
46 src_configure() {