Bug#1043225: qt6-base: Please add patch to re-enable support for SuperH (sh4)
Hi!
Forgot to specify Q_BYTE_ORDER. Updated patch attached.
Adrian
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
Index: qt6-base-6.4.2+dfsg/src/corelib/global/qprocessordetection.h
===================================================================
--- qt6-base-6.4.2+dfsg.orig/src/corelib/global/qprocessordetection.h
+++ qt6-base-6.4.2+dfsg/src/corelib/global/qprocessordetection.h
@@ -294,12 +294,12 @@
SuperH is bi-endian, use endianness auto-detection implemented below.
*/
-// #elif defined(__sh__)
-// # define Q_PROCESSOR_SH
-// # if defined(__sh4a__)
-// # define Q_PROCESSOR_SH_4A
-// # endif
-// Q_BYTE_ORDER not defined, use endianness auto-detection
+#elif defined(__sh__)
+# define Q_PROCESSOR_SH
+# if defined(__sh4a__)
+# define Q_PROCESSOR_SH_4A
+# endif
+# define Q_BYTE_ORDER Q_LITTLE_ENDIAN
/*
SPARC family, optional revision: V9
Reply to: