mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-11-20 22:27:17 -08:00
dev-util/heaptrack: fix build w/ boost 1.81
Closes: https://bugs.gentoo.org/887033 Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -0,0 +1,23 @@
|
||||
https://bugs.gentoo.org/887033
|
||||
https://invent.kde.org/sdk/heaptrack/-/commit/de3174aa1d1293636079473ff693d9a274a093a9
|
||||
|
||||
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.
|
||||
--- 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
|
||||
--
|
||||
GitLab
|
||||
@@ -44,6 +44,10 @@ BDEPEND="
|
||||
gui? ( kde-frameworks/extra-cmake-modules:5 )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-boost-1.81.patch # bug #887033, in master
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
cmake_src_prepare
|
||||
rm -rf 3rdparty/boost-zstd || die # ensure no bundling
|
||||
|
||||
Reference in New Issue
Block a user