summaryrefslogtreecommitdiff
path: root/dev-cpp/yaml-cpp
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2026-02-13 08:19:01 +0000
committerSam James <sam@gentoo.org>2026-02-14 03:59:19 +0000
commit882e8fa099eb67325c4e70753ec5cbc8dcb0e441 (patch)
tree2b512593407beaab683f76a8b75226485a3e3d80 /dev-cpp/yaml-cpp
parentda3fe45712c41728c6908f9569f5fff7612a8f74 (diff)
downloadgentoo-882e8fa099eb67325c4e70753ec5cbc8dcb0e441.tar.gz
gentoo-882e8fa099eb67325c4e70753ec5cbc8dcb0e441.tar.bz2
gentoo-882e8fa099eb67325c4e70753ec5cbc8dcb0e441.zip
dev-cpp/yaml-cpp: use C++17
dev-cpp/gtest-1.17.0 requires that Closes: https://bugs.gentoo.org/970002 Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/47 Merges: https://codeberg.org/gentoo/gentoo/pulls/47 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/yaml-cpp')
-rw-r--r--dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch6
-rw-r--r--dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild (renamed from dev-cpp/yaml-cpp/yaml-cpp-0.9.0.ebuild)0
2 files changed, 3 insertions, 3 deletions
diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch
index d017b11d0ac13..b499af84e6c91 100644
--- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch
+++ b/dev-cpp/yaml-cpp/files/yaml-cpp-0.9.0-cxxstd.patch
@@ -1,4 +1,4 @@
-dev-cpp/gtest requires c++ 14+
+dev-cpp/gtest requires c++ 17+
https://github.com/jbeder/yaml-cpp/pull/1374
--- a/CMakeLists.txt
@@ -8,7 +8,7 @@ https://github.com/jbeder/yaml-cpp/pull/1374
set_target_properties(yaml-cpp
PROPERTIES
- CXX_STANDARD 11)
-+ CXX_STANDARD 14)
++ CXX_STANDARD 17)
endif()
if(YAML_CPP_MAIN_PROJECT)
@@ -19,7 +19,7 @@ https://github.com/jbeder/yaml-cpp/pull/1374
set_property(TARGET yaml-cpp-tests PROPERTY CXX_STANDARD_REQUIRED ON)
if (NOT DEFINED CMAKE_CXX_STANDARD)
- set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 11)
-+ set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 14)
++ set_target_properties(yaml-cpp-tests PROPERTIES CXX_STANDARD 17)
endif()
diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.9.0.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild
index e9ac46d80afb2..e9ac46d80afb2 100644
--- a/dev-cpp/yaml-cpp/yaml-cpp-0.9.0.ebuild
+++ b/dev-cpp/yaml-cpp/yaml-cpp-0.9.0-r1.ebuild