Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package heaptrack for openSUSE:Factory 
checked in at 2023-02-08 17:20:13
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/heaptrack (Old)
 and      /work/SRC/openSUSE:Factory/.heaptrack.new.4462 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "heaptrack"

Wed Feb  8 17:20:13 2023 rev:10 rq:1063700 version:1.4.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/heaptrack/heaptrack.changes      2022-11-27 
12:53:17.687299423 +0100
+++ /work/SRC/openSUSE:Factory/.heaptrack.new.4462/heaptrack.changes    
2023-02-08 17:20:38.494045776 +0100
@@ -1,0 +2,7 @@
+Tue Feb  7 23:22:36 UTC 2023 - Christophe Marin <christo...@krop.fr>
+
+- Add GCC 13 and boost 1.81 compatibility patches:
+  * 0001-Fix-build-with-gcc-13-by-including-cstdint.patch
+  * 0001-Add-missing-include.patch
+
+-------------------------------------------------------------------

New:
----
  0001-Add-missing-include.patch
  0001-Fix-build-with-gcc-13-by-including-cstdint.patch

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

Other differences:
------------------
++++++ heaptrack.spec ++++++
--- /var/tmp/diff_new_pack.htqSiY/_old  2023-02-08 17:20:39.094048721 +0100
+++ /var/tmp/diff_new_pack.htqSiY/_new  2023-02-08 17:20:39.102048760 +0100
@@ -29,6 +29,10 @@
 Source1:        
https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz.sig
 Source2:        heaptrack.keyring
 %endif
+# PATCH-FIX-UPSTREAM
+Patch0:         0001-Fix-build-with-gcc-13-by-including-cstdint.patch
+# PATCH-FIX-UPSTREAM
+Patch1:         0001-Add-missing-include.patch
 BuildRequires:  extra-cmake-modules
 BuildRequires:  kf5-filesystem
 BuildRequires:  libboost_container-devel

++++++ 0001-Add-missing-include.patch ++++++
>From de3174aa1d1293636079473ff693d9a274a093a9 Mon Sep 17 00:00:00 2001
From: Heiko Becker <heiko.bec...@kde.org>
Date: Fri, 16 Dec 2022 00:01:15 +0100
Subject: [PATCH] Add missing include

This fixes the build with boost 1.81.0. <array> was included by one of
the boost headers, however, it's no longer included as of Boost 1.81.0.
---
 src/analyze/gui/histogrammodel.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/analyze/gui/histogrammodel.h b/src/analyze/gui/histogrammodel.h
index df11fa3..49b9a4e 100644
--- a/src/analyze/gui/histogrammodel.h
+++ b/src/analyze/gui/histogrammodel.h
@@ -9,6 +9,8 @@
 
 #include <QAbstractTableModel>
 
+#include <array>
+
 #include "treemodel.h"
 
 struct HistogramColumn
-- 
2.39.1


++++++ 0001-Fix-build-with-gcc-13-by-including-cstdint.patch ++++++
>From 315aa7116d588f92b67c4bb84e1549529cb2fca0 Mon Sep 17 00:00:00 2001
From: Heiko Becker <heiko.bec...@kde.org>
Date: Mon, 23 Jan 2023 23:44:09 +0100
Subject: [PATCH] Fix build with gcc 13 by including <cstdint>

Like other versions before, gcc 13 moved some includes around and as a
result <cstdint> is no longer transitively included [1]. Explicitly include
it for uint{32,64}_t.

[1] https://gcc.gnu.org/gcc-13/porting_to.html#header-dep-changes
---
 src/util/linereader.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/util/linereader.h b/src/util/linereader.h
index 18ec165..a8af47c 100644
--- a/src/util/linereader.h
+++ b/src/util/linereader.h
@@ -7,6 +7,7 @@
 #ifndef LINEREADER_H
 #define LINEREADER_H
 
+#include <cstdint>
 #include <istream>
 #include <string>
 
-- 
2.39.1

Reply via email to