1 |
commit: d4f6086e8624fe7c06c8ebc32b73c487235d39e5 |
2 |
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 11 18:33:01 2020 +0000 |
4 |
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 11 18:44:10 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d4f6086e |
7 |
|
8 |
app-benchmarks/i7z: Enforce -fcommon |
9 |
|
10 |
Closes: https://bugs.gentoo.org/706690 |
11 |
Package-Manager: Portage-2.3.93, Repoman-2.3.20 |
12 |
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org> |
13 |
|
14 |
app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild | 8 ++++++-- |
15 |
1 file changed, 6 insertions(+), 2 deletions(-) |
16 |
|
17 |
diff --git a/app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild b/app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild |
18 |
index d121c8ebe66..47b4c7b42ec 100644 |
19 |
--- a/app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild |
20 |
+++ b/app-benchmarks/i7z/i7z-93_p20131012-r2.ebuild |
21 |
@@ -1,7 +1,7 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2020 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
-EAPI=6 |
27 |
+EAPI=7 |
28 |
inherit flag-o-matic qmake-utils toolchain-funcs |
29 |
|
30 |
COMMIT="5023138d7c35c4667c938b853e5ea89737334e92" |
31 |
@@ -22,6 +22,7 @@ RDEPEND=" |
32 |
) |
33 |
" |
34 |
DEPEND="${RDEPEND}" |
35 |
+BDEPEND="" |
36 |
|
37 |
PATCHES=( |
38 |
"${FILESDIR}"/i7z-0.27.2-ncurses.patch |
39 |
@@ -40,6 +41,9 @@ PATCHES=( |
40 |
S="${WORKDIR}/${PN}-${COMMIT}" |
41 |
|
42 |
src_configure() { |
43 |
+ # Workaround to build with gcc-10 until I find a patch |
44 |
+ append-cflags -fcommon |
45 |
+ |
46 |
tc-export CC PKG_CONFIG |
47 |
cd GUI || die |
48 |
use qt5 && eqmake5 ${PN}_GUI.pro |