sysfsutils/0004-support-ppc64le.patch
Christopher Engelhard c1dfc3ce6e Use new upstream tarball, backport relevant upstream fixes up to commit b688c65
The new tarball hosted on GitHub is not identical to the original one, but
contains no functional differences

All of Fedora's patches to sysfsutils 2.1.0 have been merged upstream and will
be included in the next sysfsutils release. This commit incorporates all previous
patches. Additionally, it backports various fixes added upstream, that mainly
deal with compiler warnings when using moden compilers.
2020-08-17 18:34:42 +02:00

32 lines
961 B
Diff

From d4a7c673f65ac4ed257be7d3c380108a88f5c510 Mon Sep 17 00:00:00 2001
From: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
Date: Mon, 29 Jun 2020 14:26:30 +0530
Subject: [PATCH 4/8] config.guess: linux - Add support for ppc64le machine
Configure fails to guess ppc64le machine type under the Linux system.
This patch adds support to recognize ppc64le by adding it to the list
of valid Linux systems.
Signed-off-by: Kamalesh Babulal <kamalesh@linux.vnet.ibm.com>
---
config.guess | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config.guess b/config.guess
index 2fc3acc..9b3e674 100644
--- a/config.guess
+++ b/config.guess
@@ -864,6 +864,9 @@ EOF
ppc64:Linux:*:*)
echo powerpc64-${VENDOR:-unknown}-linux-gnu
exit 0 ;;
+ ppc64le:Linux:*:*)
+ echo powerpc64le-${VENDOR:-unknown}-linux-gnu
+ exit 0 ;;
alpha:Linux:*:*)
case `sed -n '/^cpu model/s/^.*: \(.*\)/\1/p' < /proc/cpuinfo` in
EV5) UNAME_MACHINE=alphaev5 ;;
--
2.28.0