From 10e64345c6f768495fcc20bfa67c1e1156b5de5d Mon Sep 17 00:00:00 2001 From: Al Stone Date: Fri, 18 Aug 2017 18:22:02 -0600 Subject: [PATCH] Fix ppc64le patch to detect big-endian properly Signed-off-by: Al Stone --- ppc64le.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ppc64le.patch b/ppc64le.patch index d2fa669..af03da5 100644 --- a/ppc64le.patch +++ b/ppc64le.patch @@ -6,7 +6,7 @@ Index: acpica-unix2-20170728/source/include/platform/aclinux.h #define __cdecl #endif -+#if defined(__BIG_ENDIAN) ++#if __BYTE_ORDER__ __ORDER_BIG_ENDIAN__ #if defined(__PPC64__) || defined(__s390x__) #define ACPI_BIG_ENDIAN #endif