[Pkg-ofed-commits] [perftest] 02/02: Add patch to fix building on s390x. (Closes:#814547)
Ana Beatriz Guerrero López
ana at moszumanska.debian.org
Sat Feb 13 14:32:34 UTC 2016
This is an automated email from the git hooks/post-receive script.
ana pushed a commit to branch master
in repository perftest.
commit 0c596835bab136649125da77bc5ea69711914bdd
Author: Ana Guerrero López <ana at ekaia.org>
Date: Sat Feb 13 14:55:13 2016 +0100
Add patch to fix building on s390x. (Closes:#814547)
---
debian/changelog | 6 ++--
debian/patches/Fix-typos-in-s390x-support.patch | 40 +++++++++++++++++++++++++
debian/patches/series | 1 +
3 files changed, 45 insertions(+), 2 deletions(-)
diff --git a/debian/changelog b/debian/changelog
index 7f748e8..f831053 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,8 +1,10 @@
-perftest (3.0+0.16.gb2f2e82-2) UNRELEASED; urgency=medium
+perftest (3.0+0.16.gb2f2e82-2) unstable; urgency=medium
* Set Architecture field to linux-any. (Closes:#814537)
+ * Add patch to fix building on s390x. (Closes:#814547)
+ Thanks to dann frazier.
- -- Ana Beatriz Guerrero Lopez <ana at debian.org> Tue, 21 Jul 2015 18:24:55 +0200
+ -- Ana Beatriz Guerrero Lopez <ana at debian.org> Sat, 13 Feb 2016 15:31:28 +0100
perftest (3.0+0.16.gb2f2e82-1) unstable; urgency=medium
diff --git a/debian/patches/Fix-typos-in-s390x-support.patch b/debian/patches/Fix-typos-in-s390x-support.patch
new file mode 100644
index 0000000..a730e70
--- /dev/null
+++ b/debian/patches/Fix-typos-in-s390x-support.patch
@@ -0,0 +1,40 @@
+From: dann frazier <dann.frazier at canonical.com>
+Subject: [PATCH] perftest: Fix typos in s390x support
+
+Commit 472171fbd5a8 added support for s390x systems, but it looks like the
+changeset got corrupted between submit and commit, resulting in a compile
+failure. The version on the mailing list looks fine:
+
+ http://www.spinics.net/lists/linux-rdma/msg19592.html
+
+Signed-off-by: dann frazier <dann.frazier at canonical.com>
+Bug-Ubuntu: 1545010
+Forwarded: http://www.spinics.net/lists/linux-rdma/msg33357.html
+Last-Update: 2016-02-12
+
+Index: perftest/README
+===================================================================
+--- perftest.orig/README
++++ perftest/README
+@@ -237,7 +237,7 @@ Special feature detailed explanation in
+ ./configure --disable-verbs_exp
+ make
+
+- 6. In te x390x platform virtualized environment the results shown by package test applications can be incorrect.
++ 6. In the s390x platform virtualized environment the results shown by package test applications can be incorrect.
+
+ 7. perftest-2.3 release includes support for dualport VPI test - port1-Ethernet , port2-IB. (in addition to Eth:Eth, IB:IB)
+ Currently, running dualport when port1-IB , port2-Ethernet still not working.
+Index: perftest/src/get_clock.c
+===================================================================
+--- perftest.orig/src/get_clock.c
++++ perftest/src/get_clock.c
+@@ -201,7 +201,7 @@ static double proc_get_cpu_mhz(int no_cp
+ double get_cpu_mhz(int no_cpu_freq_warn)
+ {
+ #ifdef __s390x__
+- return sample_get_cpu_mgz();
++ return sample_get_cpu_mhz();
+ #else
+ double sample, proc, delta;
+ sample = sample_get_cpu_mhz();
diff --git a/debian/patches/series b/debian/patches/series
index 5d43e16..3010a5b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
0001-Fix-spelling-errors-in-binaries.patch
+Fix-typos-in-s390x-support.patch
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ofed/perftest.git
More information about the Pkg-ofed-commits
mailing list