Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-qt/qtgui/
Date: Sat, 02 Nov 2019 15:23:20
Message-Id: 1572708151.aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791.asturm@gentoo
1 commit: aa52bb1b8dedd9db585ea75e70ccbdc3d2bb2791
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 2 12:38:00 2019 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Nov 2 15:22:31 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aa52bb1b
7
8 dev-qt/qtgui: Fix build with CXXFLAGS="-march=native"
9
10 Old fix from 5.12.1 still applies.
11
12 Bug: https://bugs.gentoo.org/672946
13 Package-Manager: Portage-2.3.78, Repoman-2.3.17
14 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
15
16 dev-qt/qtgui/qtgui-5.13.2.ebuild | 2 ++
17 1 file changed, 2 insertions(+)
18
19 diff --git a/dev-qt/qtgui/qtgui-5.13.2.ebuild b/dev-qt/qtgui/qtgui-5.13.2.ebuild
20 index 480c023a611..6bec13c736d 100644
21 --- a/dev-qt/qtgui/qtgui-5.13.2.ebuild
22 +++ b/dev-qt/qtgui/qtgui-5.13.2.ebuild
23 @@ -124,6 +124,8 @@ QT5_GENTOO_PRIVATE_CONFIG=(
24 :gui
25 )
26
27 +PATCHES+=( "${FILESDIR}/qt-5.12-gcc-avx2.patch" ) # bug 672946
28 +
29 src_prepare() {
30 # don't add -O3 to CXXFLAGS, bug 549140
31 sed -i -e '/CONFIG\s*+=/s/optimize_full//' src/gui/gui.pro || die