summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2018-11-29 21:45:06 +0100
committerDavid Seifert <soap@gentoo.org>2018-11-29 21:46:37 +0100
commitef2c13a47cd6a5ae320c0768444d03225c8e70c2 (patch)
tree39ceeaabd656f96df40dda53f4d2dfce78c7e637
parentx11-libs/gtksourceview: remove old (diff)
downloadgentoo-ef2c13a4.tar.gz
gentoo-ef2c13a4.tar.bz2
gentoo-ef2c13a4.zip
dev-util/stressapptest: Fix building with GCC 5
Closes: https://bugs.gentoo.org/651842 Package-Manager: Portage-2.3.52, Repoman-2.3.12 Signed-off-by: David Seifert <soap@gentoo.org>
-rw-r--r--dev-util/stressapptest/stressapptest-1.0.9.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/dev-util/stressapptest/stressapptest-1.0.9.ebuild b/dev-util/stressapptest/stressapptest-1.0.9.ebuild
index 27748ce9fde5..054b68fe3b0e 100644
--- a/dev-util/stressapptest/stressapptest-1.0.9.ebuild
+++ b/dev-util/stressapptest/stressapptest-1.0.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
@@ -18,6 +18,9 @@ RDEPEND="dev-libs/libaio"
DEPEND="${RDEPEND}"
src_configure() {
+ # Uses uintptr_t, which is C++11, #651842
+ append-cxxflags -std=c++11
+
# Matches the configure & sat.cc logic.
use debug || append-cppflags -DNDEBUG -DCHECKOPTS
econf --disable-default-optimizations