Hello community,

here is the log from the commit of package perf for openSUSE:Factory checked in 
at 2017-09-17 22:38:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/perf (Old)
 and      /work/SRC/openSUSE:Factory/.perf.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "perf"

Sun Sep 17 22:38:23 2017 rev:39 rq:526437 version:MACRO

Changes:
--------
--- /work/SRC/openSUSE:Factory/perf/perf.changes        2016-09-07 
11:44:36.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.perf.new/perf.changes   2017-09-17 
22:38:29.219319927 +0200
@@ -1,0 +2,6 @@
+Fri Sep 15 21:26:35 UTC 2017 - [email protected]
+
+- Fix x86 32bit build error
+  New patch: perf-provide-definition-for-einval-on-32bit.patch
+
+-------------------------------------------------------------------

New:
----
  perf-provide-definition-for-einval-on-32bit.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ perf.spec ++++++
--- /var/tmp/diff_new_pack.uY0aSY/_old  2017-09-17 22:38:29.931219836 +0200
+++ /var/tmp/diff_new_pack.uY0aSY/_new  2017-09-17 22:38:29.931219836 +0200
@@ -1,7 +1,7 @@
 #
 # spec file for package perf
 #
-# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -49,6 +49,7 @@
 BuildRequires:  zlib-devel
 %{perl_requires}
 %{?libperl_requires}
+Patch1:         perf-provide-definition-for-einval-on-32bit.patch
 
 Requires:       kernel >= 2.6.31
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
@@ -64,6 +65,7 @@
 # copy necessary files from kernel-source since we need to modify them
 (cd /usr/src/linux ; tar -cf - COPYING CREDITS README tools include scripts 
Kbuild Makefile arch/*/{include,lib,Makefile} lib) | tar -xf - 
 chmod +x tools/perf/util/generate-cmdlist.sh
+%patch1 -p1
 
 %build
 cd tools/perf

++++++ perf-provide-definition-for-einval-on-32bit.patch ++++++
From: Tony Jones <[email protected]>
Subject: provide definition for EINVAL on 32bit
References: none
Upstream: pending

diff --git a/tools/perf/arch/x86/util/unwind-libunwind.c 
b/tools/perf/arch/x86/util/unwind-libunwind.c
index 4f16661cbdbb..88934cce977b 100644
--- a/tools/perf/arch/x86/util/unwind-libunwind.c
+++ b/tools/perf/arch/x86/util/unwind-libunwind.c
@@ -1,6 +1,6 @@
+#include <errno.h>
 
 #ifndef REMOTE_UNWIND_LIBUNWIND
-#include <errno.h>
 #include <libunwind.h>
 #include "perf_regs.h"
 #include "../../util/unwind.h"

Reply via email to