Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package yaml-cpp for openSUSE:Factory 
checked in at 2025-02-18 19:08:38
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/yaml-cpp (Old)
 and      /work/SRC/openSUSE:Factory/.yaml-cpp.new.8181 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "yaml-cpp"

Tue Feb 18 19:08:38 2025 rev:20 rq:1246433 version:0.8.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/yaml-cpp/yaml-cpp.changes        2024-10-30 
17:32:49.680215308 +0100
+++ /work/SRC/openSUSE:Factory/.yaml-cpp.new.8181/yaml-cpp.changes      
2025-02-18 19:08:58.552170421 +0100
@@ -1,0 +2,7 @@
+Thu Feb 13 09:45:14 UTC 2025 - [email protected]
+
+- added patches
+  fix 
https://github.com/jbeder/yaml-cpp/commit/7b469b4220f96fb3d036cf68cd7bd30bd39e61d2
+  + yaml-cpp-gcc15.patch
+
+-------------------------------------------------------------------

New:
----
  yaml-cpp-gcc15.patch

BETA DEBUG BEGIN:
  New:  fix 
https://github.com/jbeder/yaml-cpp/commit/7b469b4220f96fb3d036cf68cd7bd30bd39e61d2
  + yaml-cpp-gcc15.patch
BETA DEBUG END:

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ yaml-cpp.spec ++++++
--- /var/tmp/diff_new_pack.dr3KZb/_old  2025-02-18 19:08:59.116193940 +0100
+++ /var/tmp/diff_new_pack.dr3KZb/_new  2025-02-18 19:08:59.120194107 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package yaml-cpp
 #
-# Copyright (c) 2024 SUSE LLC
+# Copyright (c) 2025 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -26,6 +26,8 @@
 URL:            https://github.com/jbeder/yaml-cpp/
 Source:         
https://github.com/jbeder/yaml-cpp/archive/%{version}.tar.gz#/%{name}-%{version}.tar.gz
 Source98:       baselibs.conf
+# 
https://github.com/jbeder/yaml-cpp/commit/7b469b4220f96fb3d036cf68cd7bd30bd39e61d2
+Patch0:         yaml-cpp-gcc15.patch
 BuildRequires:  cmake
 BuildRequires:  pkgconfig
 BuildRequires:  sed

++++++ yaml-cpp-gcc15.patch ++++++
>From 7b469b4220f96fb3d036cf68cd7bd30bd39e61d2 Mon Sep 17 00:00:00 2001
From: Christopher Fore <[email protected]>
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 <[email protected]>
---
 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>
 

Reply via email to