SHA256
1
0
forked from pool/heaptrack

Accepting request 832517 from home:kfreitag:branches:KDE:Extra

- Update to upstream version 1.2.0, a bugfix release.
- Removed Fix-compile-on-32bit.patch as it was added upstream.

OBS-URL: https://build.opensuse.org/request/show/832517
OBS-URL: https://build.opensuse.org/package/show/KDE:Extra/heaptrack?expand=0&rev=24
This commit is contained in:
Fabian Vogt 2020-09-05 18:25:48 +00:00 committed by Git OBS Bridge
parent 00c75ba266
commit 7f2d1c418a
5 changed files with 10 additions and 36 deletions

View File

@ -1,29 +0,0 @@
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

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:120f8b276f772aa3409fc3d628dbe7c4fa9d0d98cd710982b6007e6113e13f3b
size 900460

3
heaptrack-1.2.0.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:d494dff438aa0ae5d6bae286db14b0ac582604b8674f7a2adfb9fc19dfe62848
size 1092272

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Sat Sep 5 16:11:52 UTC 2020 - Klaas Freitag <opensuse@freisturz.de>
- Update to upstream version 1.2.0, a bugfix release.
- Removed Fix-compile-on-32bit.patch as it was added upstream.
-------------------------------------------------------------------
Mon Aug 31 15:38:09 UTC 2020 - Christophe Giboudeaux <christophe@krop.fr>

View File

@ -19,15 +19,13 @@
%define kf5_version 5.26.0
%bcond_without lang
Name: heaptrack
Version: 1.1.0
Version: 1.2.0
Release: 0
Summary: Heap Memory Allocation Profiler
License: LGPL-2.1-or-later
Group: Development/Tools/Other
URL: https://userbase.kde.org/Heaptrack
Source0: https://download.kde.org/stable/heaptrack/%{version}/%{name}-%{version}.tar.xz
# PATCH-FIX-UPSTREAM
Patch0: Fix-compile-on-32bit.patch
BuildRequires: extra-cmake-modules
BuildRequires: kf5-filesystem
BuildRequires: libboost_iostreams-devel
@ -77,7 +75,6 @@ A Qt5/KF5 based GUI for Heaptrack.
%prep
%setup -q
%autopatch -p1
# Disable building tests, they're not used and post-build-checks trips over it
sed -i"" '/add_subdirectory(tests)/d' CMakeLists.txt