Bug#1043225: qt6-base: Please add patch to re-enable support for SuperH (sh4)
John Paul Adrian Glaubitz <[email protected]> Mon, 07 Aug 2023 17:41:04 +0200
| Newsgroups | gmane.linux.debian.ports.superh |
|---|---|
| Message-ID | <169142286402.2438723.6237170504944268707.reportbug__24985.537822225$1691423136$gmane$org@nofan.physik.fu-berlin.de> |
Source: qt6-base Version: 6.4.2+dfsg-17 Severity: normal User: [email protected] Usertags: sh4 X-Debbugs-Cc: [email protected] 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
Add-SH-detection.patch
(text/plain, 647 B)
--- 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