From 6bdfb5ab03bb84f2f6be6bb928673db7e3e346ac Mon Sep 17 00:00:00 2001 From: Ionen Wolkens Date: Sun, 5 Feb 2023 06:36:08 -0500 Subject: [PATCH] dev-cpp/rapidyaml: bump to -std=c++17 Does not seem to be anything that requires staying on c++11. Technically the new gtest-1.13 only needs >=14 but may as well go higher with current gcc's default. Closes: https://bugs.gentoo.org/893272 Signed-off-by: Ionen Wolkens --- dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild b/dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild index f1c6896c181b1..84cf212c458f4 100644 --- a/dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild +++ b/dev-cpp/rapidyaml/rapidyaml-0.5.0.ebuild @@ -69,6 +69,9 @@ src_configure() { # TODO: enable this+tests, should(?) be easier to do with >=0.5.0 but # still need looking into (please fill a bug if need this right away) -DRYML_BUILD_API=no + + # rapidyaml sets c++11, but >=gtest-1.13 wants >=c++14 (bug #893272) + -DC4_CXX_STANDARD=17 ) cmake_src_configure