aboutsummaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
Diffstat (limited to 'debian')
-rw-r--r--debian/changelog6
-rw-r--r--debian/patches/fix-ppc64el-ftbfs.patch18
-rw-r--r--debian/patches/series1
3 files changed, 25 insertions, 0 deletions
diff --git a/debian/changelog b/debian/changelog
index 6a9999e0..182d4728 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+hardinfo (0.5.1+git20170620-2) UNRELEASED; urgency=high
+
+ * Fix build on ppc64el (Closes: #865776).
+
+ -- Simon Quigley <tsimonq2@ubuntu.com> Wed, 05 Jul 2017 06:35:11 -0500
+
hardinfo (0.5.1+git20170620-1) unstable; urgency=medium
* Update to latest upstream Git commit (1f791f3) to fix a few issues.
diff --git a/debian/patches/fix-ppc64el-ftbfs.patch b/debian/patches/fix-ppc64el-ftbfs.patch
new file mode 100644
index 00000000..cf0516fb
--- /dev/null
+++ b/debian/patches/fix-ppc64el-ftbfs.patch
@@ -0,0 +1,18 @@
+Description: Fix FTBFS on ppc64el.
+ This is a proper fix adding support for ppc64el in CMakeLists.txt.
+Author: Frédéric Bonnard <frediz@linux.vnet.ibm.com>
+Bug-Debian: https://bugs.debian.org/865776
+Last-Update: 2017-07-05
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -21,7 +21,7 @@ if(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHE
+ set(HARDINFO_ARCH "x86")
+ elseif(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "x86_64")
+ set(HARDINFO_ARCH "x86_64")
+-elseif(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "ppc{32,64}")
++elseif(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "(ppc32|ppc64|ppc64le)")
+ set(HARDINFO_ARCH "ppc")
+ elseif(${CMAKE_HOST_SYSTEM_PROCESSOR} MATCHES "mips")
+ set(HARDINFO_ARCH "mips")
diff --git a/debian/patches/series b/debian/patches/series
index 10145d5a..b5d1bcf9 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
+fix-ppc64el-ftbfs.patch
glibc-version.patch