summaryrefslogtreecommitdiff
path: root/user/qt5-qtdeclarative/disable-jit-pmmx.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-27 04:02:42 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-12-27 04:02:42 -0600
commit47d18b13213ccd7c51894796760f97571c3eb424 (patch)
tree6e31cc5d066c199564a5c8f34a40d313a08c44aa /user/qt5-qtdeclarative/disable-jit-pmmx.patch
parent9b07de55dfe6d50baeda3a8feda7f9fcade9c647 (diff)
downloadpackages-47d18b13213ccd7c51894796760f97571c3eb424.tar.gz
packages-47d18b13213ccd7c51894796760f97571c3eb424.tar.bz2
packages-47d18b13213ccd7c51894796760f97571c3eb424.tar.xz
packages-47d18b13213ccd7c51894796760f97571c3eb424.zip
user/qt5: Bump to 5.12.6 LTS
This updates Qt 5 to the latest LTS release available. Notable changes: * The infamous clipboard bug (upstream QTBUG-65145; Gerrit 254187) is fixed! * Qt Declarative's "V4 JIT" is disabled globally on pmmx. It is no longer (easily) possible to turn off the JIT selectively based on CPU capability. * Qt Script builds correctly on GCC 8 now. This does not include: * Build testing of Qt Multimedia (yet); this depends on the time64-isation of the alsa-lib package (at least). * Build testing of Qt Speech (yet); speech-dispatcher also deps on alsa-lib indirectly. * Qt WebKit 5.212. This will be committed later.
Diffstat (limited to 'user/qt5-qtdeclarative/disable-jit-pmmx.patch')
-rw-r--r--user/qt5-qtdeclarative/disable-jit-pmmx.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/user/qt5-qtdeclarative/disable-jit-pmmx.patch b/user/qt5-qtdeclarative/disable-jit-pmmx.patch
new file mode 100644
index 000000000..971fd9f14
--- /dev/null
+++ b/user/qt5-qtdeclarative/disable-jit-pmmx.patch
@@ -0,0 +1,18 @@
+It is no longer possible to remove the SSE2 requirement.
+
+So we remove the JIT entirely on pmmx/x86.
+
+--- qtdeclarative-everywhere-src-5.12.6/src/qml/jsruntime/qv4global_p.h.old 2019-11-07 11:01:48.000000000 +0000
++++ qtdeclarative-everywhere-src-5.12.6/src/qml/jsruntime/qv4global_p.h 2019-12-27 06:11:55.456270846 +0000
+@@ -88,10 +88,7 @@
+ //
+ // NOTE: This should match the logic in qv4targetplatform_p.h!
+
+-#if defined(Q_PROCESSOR_X86_32) && (QT_POINTER_SIZE == 4) \
+- && (defined(Q_OS_WIN) || defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_FREEBSD))
+-# define V4_ENABLE_JIT
+-#elif defined(Q_PROCESSOR_X86_64) && (QT_POINTER_SIZE == 8) \
++#if defined(Q_PROCESSOR_X86_64) && (QT_POINTER_SIZE == 8) \
+ && (defined(Q_OS_WIN) || defined(Q_OS_LINUX) || defined(Q_OS_QNX) || defined(Q_OS_MAC) || defined(Q_OS_FREEBSD))
+ # define V4_ENABLE_JIT
+ #elif defined(Q_PROCESSOR_ARM_32) && (QT_POINTER_SIZE == 4) \