summaryrefslogtreecommitdiff
path: root/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-06-12 14:54:18 +0200
committerAndreas Baumann <mail@andreasbaumann.cc>2019-06-12 14:54:18 +0200
commite770683faca92d396561a9434c8b27f043bfcccd (patch)
tree88ee17d1e3bdf6b76e8491b352ce8c5208327fbd /extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch
parentcb1266a842298fc2bb7c139c7e632d66e962a357 (diff)
downloadpackages-e770683faca92d396561a9434c8b27f043bfcccd.tar.xz
extra/qt5-declarative: trying a minimal non-SSE2 patch for WASM
Diffstat (limited to 'extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch')
-rw-r--r--extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch b/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch
new file mode 100644
index 00000000..7af11f4b
--- /dev/null
+++ b/extra/qt5-declarative/qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal.patch
@@ -0,0 +1,16 @@
+diff -rauN qtdeclarative-everywhere-src-5.12.3/src/qml/qml/v8/qv8engine.cpp qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal-patch/src/qml/qml/v8/qv8engine.cpp
+--- qtdeclarative-everywhere-src-5.12.3/src/qml/qml/v8/qv8engine.cpp 2019-04-08 11:12:26.000000000 +0200
++++ qtdeclarative-everywhere-src-5.12.3-no-sse2-non-fatal-patch/src/qml/qml/v8/qv8engine.cpp 2019-06-12 14:48:14.189999439 +0200
+@@ -140,9 +140,9 @@
+ {
+ #ifndef Q_OS_WASM // wasm does not have working simd QTBUG-63924
+ #ifdef Q_PROCESSOR_X86_32
+- if (!qCpuHasFeature(SSE2)) {
+- qFatal("This program requires an X86 processor that supports SSE2 extension, at least a Pentium 4 or newer");
+- }
++ //~ if (!qCpuHasFeature(SSE2)) {
++ //~ qFatal("This program requires an X86 processor that supports SSE2 extension, at least a Pentium 4 or newer");
++ //~ }
+ #endif
+ #endif
+