File ppc64le-support.patch of Package libqt5-qtwebkit.3194
Index: qtwebkit-opensource-src-5.2.0-rc1/Source/WTF/wtf/Platform.h
===================================================================
--- qtwebkit-opensource-src-5.2.0-rc1.orig/Source/WTF/wtf/Platform.h
+++ qtwebkit-opensource-src-5.2.0-rc1/Source/WTF/wtf/Platform.h
@@ -107,16 +107,22 @@
|| defined(__POWERPC__) \
|| defined(_M_PPC) \
|| defined(__PPC)
+#if !defined(__ppc64__) && !defined(__PPC64__)
#define WTF_CPU_PPC 1
+#endif
+#if !defined(__LITTLE_ENDIAN__)
#define WTF_CPU_BIG_ENDIAN 1
#endif
+#endif
/* CPU(PPC64) - PowerPC 64-bit */
#if defined(__ppc64__) \
|| defined(__PPC64__)
#define WTF_CPU_PPC64 1
+#if !defined(__LITTLE_ENDIAN__)
#define WTF_CPU_BIG_ENDIAN 1
#endif
+#endif
/* CPU(SH4) - SuperH SH-4 */
#if defined(__SH4__)