package/yaml-cpp: bump version to 0.9.0

For change log, see:
https://github.com/jbeder/yaml-cpp/releases/tag/yaml-cpp-0.9.0

Drop upstream patches.

Signed-off-by: Adam Duskett <adam.duskett@amarulasolutions.com>
[Julien: add link to change log in commit log]
Signed-off-by: Julien Olivain <ju.o@free.fr>
This commit is contained in:
Adam Duskett
2026-07-27 11:49:08 +02:00
committed by Julien Olivain
parent 2e237d2217
commit a19e6cfe63
4 changed files with 3 additions and 71 deletions

View File

@@ -1,42 +0,0 @@
From 7b469b4220f96fb3d036cf68cd7bd30bd39e61d2 Mon Sep 17 00:00:00 2001
From: Christopher Fore <csfore@posteo.net>
Date: Wed, 14 Aug 2024 21:02:32 -0400
Subject: [PATCH] emitterutils: Explicitly include <cstdint>
GCC 15 will no longer include it by default, resulting in build
failures in projects that do not explicitly include it.
Error:
src/emitterutils.cpp:221:11: error: 'uint16_t' was not declared in this scope
221 | std::pair<uint16_t, uint16_t> EncodeUTF16SurrogatePair(int codePoint) {
| ^~~~~~~~
src/emitterutils.cpp:13:1: note: 'uint16_t' is defined in header '<cstdint>';
this is probably fixable by adding '#include <cstdint>'
12 | #include "yaml-cpp/null.h"
+++ |+#include <cstdint>
13 | #include "yaml-cpp/ostream_wrapper.h"
Tests pass.
Closes: #1307
See-also: https://gcc.gnu.org/pipermail/gcc-cvs/2024-August/407124.html
See-also: https://bugs.gentoo.org/937412
Signed-off-by: Christopher Fore <csfore@posteo.net>
Upstream: https://github.com/jbeder/yaml-cpp/commit/7b469b4220f96fb3d036cf68cd7bd30bd39e61d2
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/emitterutils.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/emitterutils.cpp b/src/emitterutils.cpp
index fc41011a5..f801b1d0c 100644
--- a/src/emitterutils.cpp
+++ b/src/emitterutils.cpp
@@ -1,4 +1,5 @@
#include <algorithm>
+#include <cstdint>
#include <iomanip>
#include <sstream>

View File

@@ -1,26 +0,0 @@
From c2680200486572baf8221ba052ef50b58ecd816e Mon Sep 17 00:00:00 2001
From: Craig Scott <craig.scott@crascit.com>
Date: Thu, 17 Aug 2023 08:54:05 +1000
Subject: [PATCH] Specify CMake policy range to avoid deprecation warning
(#1211)
Upstream: https://github.com/jbeder/yaml-cpp/commit/c2680200486572baf8221ba052ef50b58ecd816e
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
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

View File

@@ -1,3 +1,3 @@
# locally computed # locally computed
sha256 fbe74bbdcee21d656715688706da3c8becfd946d92cd44705cc6098bb23b3a16 yaml-cpp-0.8.0.tar.gz sha256 25cb043240f828a8c51beb830569634bc7ac603978e0f69d6b63558dadefd49a yaml-cpp-0.9.0.tar.gz
sha256 aa6fcc27be034e41e21dd832f9175bfe694a48491d9e14ff0fa278e19ad14f1b LICENSE sha256 aa6fcc27be034e41e21dd832f9175bfe694a48491d9e14ff0fa278e19ad14f1b LICENSE

View File

@@ -4,8 +4,8 @@
# #
################################################################################ ################################################################################
YAML_CPP_VERSION = 0.8.0 YAML_CPP_VERSION = 0.9.0
YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,$(YAML_CPP_VERSION)) YAML_CPP_SITE = $(call github,jbeder,yaml-cpp,yaml-cpp-$(YAML_CPP_VERSION))
YAML_CPP_INSTALL_STAGING = YES YAML_CPP_INSTALL_STAGING = YES
YAML_CPP_LICENSE = MIT YAML_CPP_LICENSE = MIT
YAML_CPP_LICENSE_FILES = LICENSE YAML_CPP_LICENSE_FILES = LICENSE