- Add Fix-compile-on-32bit.patch to make it build on 32bit (kde#394330) - Don't install office-chart-area icon from breeze to hicolor anymore, heaptrack comes with its own application icon now - Mark license files as %license instead of %doc - Install README.md as well, it contains instructions on how to use it OBS-URL: https://build.opensuse.org/request/show/611710 OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/heaptrack?expand=0&rev=6
30 lines
692 B
Diff
30 lines
692 B
Diff
From 76fd2e84ba133e96d2cfdf90cb715e66e923eb8f Mon Sep 17 00:00:00 2001
|
|
From: Milian Wolff <mail@milianw.de>
|
|
Date: Thu, 17 May 2018 13:31:25 +0200
|
|
Subject: Fix compile on 32bit
|
|
|
|
BUG: 394330
|
|
---
|
|
src/util/linewriter.h | 5 +++++
|
|
1 file changed, 5 insertions(+)
|
|
|
|
diff --git a/src/util/linewriter.h b/src/util/linewriter.h
|
|
index 73a7930..e895e87 100644
|
|
--- a/src/util/linewriter.h
|
|
+++ b/src/util/linewriter.h
|
|
@@ -158,6 +158,11 @@ public:
|
|
return __builtin_clzl(V);
|
|
}
|
|
|
|
+ inline static unsigned clz(long long unsigned V)
|
|
+ {
|
|
+ return __builtin_clzll(V);
|
|
+ }
|
|
+
|
|
template <typename V>
|
|
static char* writeHexNumber(char* buffer, V value)
|
|
{
|
|
--
|
|
cgit v0.11.2
|
|
|