1 |
commit: 4aaaacfc03540386c274b04297e36f301634029b |
2 |
Author: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Feb 6 13:11:53 2018 +0000 |
4 |
Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Feb 6 13:12:50 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4aaaacfc |
7 |
|
8 |
dev-python/PyQt5: add patch to fix build with Qt 5.9.4 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/646580 |
11 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
12 |
|
13 |
dev-python/PyQt5/PyQt5-5.10.ebuild | 1 + |
14 |
dev-python/PyQt5/files/PyQt5-5.10-qt594.patch | 15 +++++++++++++++ |
15 |
2 files changed, 16 insertions(+) |
16 |
|
17 |
diff --git a/dev-python/PyQt5/PyQt5-5.10.ebuild b/dev-python/PyQt5/PyQt5-5.10.ebuild |
18 |
index 809e464ee4b..16b925075fe 100644 |
19 |
--- a/dev-python/PyQt5/PyQt5-5.10.ebuild |
20 |
+++ b/dev-python/PyQt5/PyQt5-5.10.ebuild |
21 |
@@ -94,6 +94,7 @@ DEPEND="${RDEPEND} |
22 |
S=${WORKDIR}/${MY_P} |
23 |
|
24 |
DOCS=( "${S}"/{ChangeLog,NEWS} ) |
25 |
+PATCHES=( "${FILESDIR}/${P}-qt594.patch" ) |
26 |
|
27 |
pyqt_use_enable() { |
28 |
use "$1" || return |
29 |
|
30 |
diff --git a/dev-python/PyQt5/files/PyQt5-5.10-qt594.patch b/dev-python/PyQt5/files/PyQt5-5.10-qt594.patch |
31 |
new file mode 100644 |
32 |
index 00000000000..fcdadab5521 |
33 |
--- /dev/null |
34 |
+++ b/dev-python/PyQt5/files/PyQt5-5.10-qt594.patch |
35 |
@@ -0,0 +1,15 @@ |
36 |
+Fix build with qt-5.9.4 |
37 |
+ |
38 |
+Bug: https://bugs.gentoo.org/646580 |
39 |
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