Backport a patch to fix the build on 32 bit arches

This commit is contained in:
Kalev Lember 2018-03-03 13:00:16 +01:00
parent b0523d434b
commit 036c98a306
2 changed files with 32 additions and 1 deletions

View File

@ -0,0 +1,28 @@
From d31b4bc1789dc327fd5dcd6a720512e24f0e2eb8 Mon Sep 17 00:00:00 2001
From: Christian Hergert <chergert@redhat.com>
Date: Wed, 21 Feb 2018 11:50:40 -0800
Subject: [PATCH] sysprofd: remove lingering debug code
https://bugzilla.gnome.org/show_bug.cgi?id=793698
---
daemon/sysprofd.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/daemon/sysprofd.c b/daemon/sysprofd.c
index 7536bcc27c54..60d619ed3219 100644
--- a/daemon/sysprofd.c
+++ b/daemon/sysprofd.c
@@ -93,10 +93,7 @@ sysprofd_get_kernel_symbols (sd_bus_message *msg,
return r;
while (sp_kallsyms_next (kallsyms, &name, &addr, &type))
- {
- g_print ("%s: %lu\n", name, addr);
sd_bus_message_append (reply, "(tys)", addr, type, name);
- }
r = sd_bus_message_close_container (reply);
if (r < 0)
--
2.16.2

View File

@ -7,6 +7,9 @@ License: GPLv3+
URL: http://www.sysprof.com
Source0: https://download.gnome.org/sources/sysprof/3.27/sysprof-%{version}.tar.xz
# Backported from upstream
Patch0: 0001-sysprofd-remove-lingering-debug-code.patch
BuildRequires: binutils-devel
BuildRequires: gettext
BuildRequires: gtk3-devel
@ -51,7 +54,7 @@ developing applications that use %{name}.
%prep
%setup -q
%autosetup -p1
%build