Bug#1043225: qt6-base: Please add patch to re-enable support for SuperH (sh4)
Source: qt6-base
Version: 6.4.2+dfsg-17
Severity: normal
User: debian-superh@lists.debian.org
Usertags: sh4
X-Debbugs-Cc: debian-superh@lists.debian.org
Hello!
For some reason, upstream disabled the platform detection for SuperH (sh4) in
src/corelib/global/qprocessordetection.h by simply commenting the corresponding
code out.
As demanded by upstream in [1], I will provide a screenshot of Qt running on SH
later this week.
Adrian
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1025823
--
.''`. John Paul Adrian Glaubitz
: :' : Debian Developer
`. `' Physicist
`- GPG: 62FF 8A75 84E0 2956 9546 0006 7426 3B37 F5B5 F913
--- 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
+Q_BYTE_ORDER not defined, use endianness auto-detection
/*
SPARC family, optional revision: V9
Reply to: