SHA256
1
0
forked from pool/heaptrack
Christophe Marin 2023-02-07 23:25:55 +00:00 committed by Git OBS Bridge
parent 0cac62642d
commit 095f03549e
3 changed files with 31 additions and 1 deletions

View File

@ -0,0 +1,27 @@
From de3174aa1d1293636079473ff693d9a274a093a9 Mon Sep 17 00:00:00 2001
From: Heiko Becker <heiko.becker@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

View File

@ -1,8 +1,9 @@
-------------------------------------------------------------------
Tue Feb 7 23:22:36 UTC 2023 - Christophe Marin <christophe@krop.fr>
- Add GCC 13 compatibility patch:
- Add GCC 13 and boost 1.81 compatibility patches:
* 0001-Fix-build-with-gcc-13-by-including-cstdint.patch
* 0001-Add-missing-include.patch
-------------------------------------------------------------------
Sun Nov 27 08:15:26 UTC 2022 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -31,6 +31,8 @@ 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