Add Patch in order to detect SH.
This commit is contained in:
parent
4515ed5f7c
commit
f0eb648d5e
4
debian/changelog
vendored
4
debian/changelog
vendored
@ -5,6 +5,10 @@ qt6-base (6.4.2+dfsg-18) UNRELEASED; urgency=medium
|
||||
* Move from deprecated QT_BUILD_TOOLS_WHEN_CROSSCOMPILING to
|
||||
QT_FORCE_BUILD_TOOLS.
|
||||
|
||||
[ John Paul Adrian Glaubitz ]
|
||||
* Add Add-SH-detection.patch in order to restore SH detection
|
||||
(Closes: #1043225).
|
||||
|
||||
-- Debian Qt/KDE Maintainers <debian-qt-kde@lists.debian.org> Tue, 01 Aug 2023 19:47:16 -0300
|
||||
|
||||
qt6-base (6.4.2+dfsg-17) unstable; urgency=medium
|
||||
|
32
debian/patches/Add-SH-detection.patch
vendored
Normal file
32
debian/patches/Add-SH-detection.patch
vendored
Normal file
@ -0,0 +1,32 @@
|
||||
Description: Add SH description
|
||||
Upstream processes archs from time to time and tends to disable those that
|
||||
they do not know wether they are working or not.
|
||||
.
|
||||
SH is working on Debian, so as an intermediate measure re enable it here.
|
||||
Author: John Paul Adrian Glaubitz <glaubitz@physik.fu-berlin.de>
|
||||
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1043225
|
||||
Reviewed-by: Lisandro Damián Nicanor Pérez Meyer <lisandro@debian.org>
|
||||
|
||||
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
|
3
debian/patches/series
vendored
3
debian/patches/series
vendored
@ -13,6 +13,9 @@ upstream_Add-enable-Alpha-detection.patch
|
||||
# fixed in 6.4.3
|
||||
cve-2023-24607.patch
|
||||
|
||||
# Needs to be fixed upstream.
|
||||
Add-SH-detection.patch
|
||||
|
||||
# Debian specific
|
||||
remove_privacy_breaches.diff
|
||||
build_path_embedded_qtbuildinternalsextra_cmake.patch
|
||||
|
Loading…
x
Reference in New Issue
Block a user