commit:     ef2c13a47cd6a5ae320c0768444d03225c8e70c2
Author:     David Seifert <soap <AT> gentoo <DOT> org>
AuthorDate: Thu Nov 29 20:45:06 2018 +0000
Commit:     David Seifert <soap <AT> gentoo <DOT> org>
CommitDate: Thu Nov 29 20:46:37 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef2c13a4

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 <AT> gentoo.org>

 dev-util/stressapptest/stressapptest-1.0.9.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-util/stressapptest/stressapptest-1.0.9.ebuild 
b/dev-util/stressapptest/stressapptest-1.0.9.ebuild
index 27748ce9fde..054b68fe3b0 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

Reply via email to