diff --git a/qt5-qtdeclarative.spec b/qt5-qtdeclarative.spec index 4fad641..5b98b23 100644 --- a/qt5-qtdeclarative.spec +++ b/qt5-qtdeclarative.spec @@ -25,6 +25,7 @@ Patch1: qtdeclarative-opensource-src-5.9.0-no_sse2.patch # https://bugzilla.redhat.com/show_bug.cgi?id=1237269 # https://bugs.kde.org/show_bug.cgi?id=348385 Patch2: qtdeclarative-QQuickShaderEffectSource_deadlock.patch +Patch3: qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch ## upstream patches @@ -83,6 +84,7 @@ Requires: %{name}%{?_isa} = %{version}-%{release} %patch1 -p1 -b .no_sse2 %endif %patch2 -p1 -b .QQuickShaderEffectSource_deadlock +%patch -p1 -b .v5boot %patch201 -p0 -b .kdebug346118 diff --git a/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch b/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch new file mode 100644 index 0000000..20dc2b5 --- /dev/null +++ b/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch @@ -0,0 +1,18 @@ +--- qtdeclarative-opensource-src-5.9.0-beta3/src/qml/jit/qv4isel_masm.cpp 2017-05-06 13:39:54.982089422 +0200 ++++ qtdeclarative-opensource-src-5.9.0-beta3/src/qml/jit/qv4isel_masm.cpp.new 2017-05-06 13:39:31.943980330 +0200 +@@ -1635,6 +1635,7 @@ + namespace QV4 { namespace JIT { + template class Q_QML_EXPORT InstructionSelection<>; + template class Q_QML_EXPORT ISelFactory<>; ++#if defined(V4_BOOTSTRAP) + + Q_QML_EXPORT QV4::EvalISelFactory *createISelForArchitecture(const QString &architecture) + { +@@ -1662,6 +1663,7 @@ + return nullptr; + } + ++#endif + } } + QT_END_NAMESPACE +