commit: dfc84bb7d79341ba76b9ae8be41883eea5b5a577 Author: Alexey Sokolov <alexey+gentoo <AT> asokolov <DOT> org> AuthorDate: Wed Feb 11 00:47:16 2026 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Fri Feb 13 00:35:27 2026 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfc84bb7
dev-cpp/yaml-cpp: drop 0.8.0-r1 Signed-off-by: Alexey Sokolov <alexey+gentoo <AT> asokolov.org> Part-of: https://codeberg.org/gentoo/gentoo/pulls/41 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake.patch | 32 -------------------- dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r1.ebuild | 37 ----------------------- 2 files changed, 69 deletions(-) diff --git a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake.patch b/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake.patch deleted file mode 100644 index 52c6321983d7..000000000000 --- a/dev-cpp/yaml-cpp/files/yaml-cpp-0.8.0-cmake.patch +++ /dev/null @@ -1,32 +0,0 @@ -https://bugs.gentoo.org/951842 -https://github.com/jbeder/yaml-cpp/pull/1211 - -From 8153a1add19018f65527faad3c4d3941705baf39 Mon Sep 17 00:00:00 2001 -From: Craig Scott <[email protected]> -Date: Wed, 16 Aug 2023 15:55:44 +1000 -Subject: [PATCH] Specify CMake policy range to avoid deprecation warning - -CMake 3.27 started issuing a deprecation warning for any -cmake_minimum_required() call that specified a minimum -version older than 3.5. Specifying a version range instead of -a simple minimum version avoids that warning without -raising the minimum supported CMake version. The NEW -policy behavior will be used for all policies introduced up to -CMake 3.14 with this change. ---- - CMakeLists.txt | 5 +++-- - 1 file changed, 3 insertions(+), 2 deletions(-) - -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 46dc18059..1ae92e2b7 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -1,5 +1,6 @@ --# 3.5 is actually available almost everywhere, but this a good minimum --cmake_minimum_required(VERSION 3.4) -+# 3.5 is actually available almost everywhere, but this a good minimum. -+# 3.14 as the upper policy limit avoids CMake deprecation warnings. -+cmake_minimum_required(VERSION 3.4...3.14) - - # enable MSVC_RUNTIME_LIBRARY target property - # see https://cmake.org/cmake/help/latest/policy/CMP0091.html diff --git a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r1.ebuild b/dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r1.ebuild deleted file mode 100644 index 9b71a0395c63..000000000000 --- a/dev-cpp/yaml-cpp/yaml-cpp-0.8.0-r1.ebuild +++ /dev/null @@ -1,37 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -inherit cmake-multilib - -DESCRIPTION="YAML parser and emitter in C++" -HOMEPAGE="https://github.com/jbeder/yaml-cpp" -SRC_URI="https://github.com/jbeder/yaml-cpp/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz" - -LICENSE="MIT" -SLOT="0/0.8" -KEYWORDS="amd64 ~arm arm64 ~hppa ~loong ppc ppc64 ~riscv ~sparc x86" -IUSE="test" -RESTRICT="!test? ( test )" - -DEPEND=" - test? ( dev-cpp/gtest[${MULTILIB_USEDEP}] ) -" - -PATCHES=( - "${FILESDIR}/yaml-cpp-0.8.0-gtest.patch" - "${FILESDIR}/yaml-cpp-0.8.0-gcc13.patch" - "${FILESDIR}/yaml-cpp-0.8.0-include-cstdint.patch" - "${FILESDIR}/yaml-cpp-0.8.0-cmake.patch" -) - -src_configure() { - local mycmakeargs=( - -DYAML_BUILD_SHARED_LIBS=ON - -DYAML_CPP_BUILD_TOOLS=OFF # Don't have install rule - -DYAML_CPP_BUILD_TESTS=$(usex test) - ) - - cmake-multilib_src_configure -}
