1 |
commit: ef2c13a47cd6a5ae320c0768444d03225c8e70c2 |
2 |
Author: David Seifert <soap <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Nov 29 20:45:06 2018 +0000 |
4 |
Commit: David Seifert <soap <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Nov 29 20:46:37 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2c13a4 |
7 |
|
8 |
dev-util/stressapptest: Fix building with GCC 5 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/651842 |
11 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
12 |
Signed-off-by: David Seifert <soap <AT> gentoo.org> |
13 |
|
14 |
dev-util/stressapptest/stressapptest-1.0.9.ebuild | 5 ++++- |
15 |
1 file changed, 4 insertions(+), 1 deletion(-) |
16 |
|
17 |
diff --git a/dev-util/stressapptest/stressapptest-1.0.9.ebuild b/dev-util/stressapptest/stressapptest-1.0.9.ebuild |
18 |
index 27748ce9fde..054b68fe3b0 100644 |
19 |
--- a/dev-util/stressapptest/stressapptest-1.0.9.ebuild |
20 |
+++ b/dev-util/stressapptest/stressapptest-1.0.9.ebuild |
21 |
@@ -1,4 +1,4 @@ |
22 |
-# Copyright 1999-2018 Gentoo Foundation |
23 |
+# Copyright 1999-2018 Gentoo Authors |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
|
26 |
EAPI="6" |
27 |
@@ -18,6 +18,9 @@ RDEPEND="dev-libs/libaio" |
28 |
DEPEND="${RDEPEND}" |
29 |
|
30 |
src_configure() { |
31 |
+ # Uses uintptr_t, which is C++11, #651842 |
32 |
+ append-cxxflags -std=c++11 |
33 |
+ |
34 |
# Matches the configure & sat.cc logic. |
35 |
use debug || append-cppflags -DNDEBUG -DCHECKOPTS |
36 |
econf --disable-default-optimizations |