Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package cpptoml for openSUSE:Factory checked 
in at 2021-06-23 17:38:29
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/cpptoml (Old)
 and      /work/SRC/openSUSE:Factory/.cpptoml.new.2625 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "cpptoml"

Wed Jun 23 17:38:29 2021 rev:3 rq:901464 version:0.1.1

Changes:
--------
--- /work/SRC/openSUSE:Factory/cpptoml/cpptoml.changes  2021-05-17 
18:45:57.344460423 +0200
+++ /work/SRC/openSUSE:Factory/.cpptoml.new.2625/cpptoml.changes        
2021-06-23 17:38:39.496506682 +0200
@@ -1,0 +2,6 @@
+Tue Jun  1 08:02:28 UTC 2021 - Christophe Giboudeaux <christo...@krop.fr>
+
+- Add GCC 11 build fix:
+  * 0001-g-11-requires-limits-header.patch
+
+-------------------------------------------------------------------

New:
----
  0001-g-11-requires-limits-header.patch

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

Other differences:
------------------
++++++ cpptoml.spec ++++++
--- /var/tmp/diff_new_pack.rPbEUq/_old  2021-06-23 17:38:39.956507312 +0200
+++ /var/tmp/diff_new_pack.rPbEUq/_new  2021-06-23 17:38:39.960507318 +0200
@@ -24,6 +24,8 @@
 Group:          Development/Languages/C and C++
 URL:            https://github.com/skystrife/%{name}
 Source:         https://github.com/skystrife/%{name}/archive/v%{version}.tar.gz
+# PATCH-FIX-UPSTREAM https://github.com/skystrife/cpptoml/pull/123
+Patch0:         0001-g-11-requires-limits-header.patch
 BuildRequires:  cmake >= 3.1
 BuildRequires:  gcc-c++
 
@@ -40,10 +42,11 @@
 This package contains development headers for the cpptoml library
 
 %prep
-%setup -q
-sed -ie "s,lib/cmake/cpptoml,%{_libdir}/cmake/%{name}," CMakeLists.txt
+%autosetup -p1
 
 %build
+sed -ie "s,lib/cmake/cpptoml,%{_libdir}/cmake/%{name}," CMakeLists.txt
+
 %cmake
 %cmake_build
 

++++++ 0001-g-11-requires-limits-header.patch ++++++
>From 3d1ff754f1588a72c179ad5c088debc5fea4b02f Mon Sep 17 00:00:00 2001
From: Dirk Eddelbuettel <e...@debian.org>
Date: Mon, 30 Nov 2020 09:41:49 -0600
Subject: [PATCH] g++-11 requires limits header

---
 include/cpptoml.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/cpptoml.h b/include/cpptoml.h
index 5a00da3..1dc9fd1 100644
--- a/include/cpptoml.h
+++ b/include/cpptoml.h
@@ -14,6 +14,7 @@
 #include <cstring>
 #include <fstream>
 #include <iomanip>
+#include <limits>
 #include <map>
 #include <memory>
 #include <sstream>
-- 
2.31.1

Reply via email to