Skip to content

Commit

Permalink
heaptrack: fix build on musl
Browse files Browse the repository at this point in the history
  • Loading branch information
meator committed Jan 12, 2025
1 parent 1496ddc commit f9abbf3
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 1 deletion.
21 changes: 21 additions & 0 deletions srcpkgs/heaptrack/patches/fix-include2.patch
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
From d6dc3d697a5f37fce52269b65ca43c7194c985a7 Mon Sep 17 00:00:00 2001
From: meator <[email protected]>
Date: Sun, 12 Jan 2025 15:19:37 +0100
Subject: [PATCH] Fix build on musl

---
src/analyze/suppressions.h | 1 +
1 file changed, 1 insertion(+)

diff --git a/src/analyze/suppressions.h b/src/analyze/suppressions.h
index 2c674470..0a5a4893 100644
--- a/src/analyze/suppressions.h
+++ b/src/analyze/suppressions.h
@@ -9,6 +9,7 @@

#include <string>
#include <vector>
+#include <cstdint>

#include <sys/types.h>

2 changes: 1 addition & 1 deletion srcpkgs/heaptrack/template
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template file for 'heaptrack'
pkgname=heaptrack
version=1.5.0
revision=1
revision=2
build_style=cmake
configure_args="-DHEAPTRACK_BUILD_GUI=ON"
hostmakedepends="qt5-qmake qt5-host-tools extra-cmake-modules kcoreaddons
Expand Down

0 comments on commit f9abbf3

Please sign in to comment.