diff --git a/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch b/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch index 4c75c57..3d0e9fe 100644 --- a/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch +++ b/qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch @@ -1,18 +1,24 @@ ---- qtdeclarative-opensource-src-5.9.0-beta3/src/qml/jit/qv4isel_masm.cpp.new 2017-05-06 13:39:31.943980330 +0200 -+++ qtdeclarative-opensource-src-5.9.0-beta3/src/qml/jit/qv4isel_masm.cpp 2017-05-06 13:39:54.982089422 +0200 -@@ -1635,7 +1635,6 @@ - namespace QV4 { namespace JIT { - template class Q_QML_EXPORT InstructionSelection<>; - template class Q_QML_EXPORT ISelFactory<>; --#if defined(V4_BOOTSTRAP) +--- qtdeclarative-opensource-src-5.9.0-beta3/tools/qmlcachegen/qmlcachegen.cpp 2017-04-21 20:34:05.000000000 +0200 ++++ qtdeclarative-opensource-src-5.9.0-beta3/tools/qmlcachegen/qmlcachegen.cpp.new 2017-05-06 15:20:22.055698824 +0200 +@@ -41,9 +41,11 @@ - Q_QML_EXPORT QV4::EvalISelFactory *createISelForArchitecture(const QString &architecture) - { -@@ -1663,7 +1662,6 @@ - return nullptr; - } + QT_BEGIN_NAMESPACE --#endif ++#if defined(V4_BOOTSTRAP) + namespace QV4 { namespace JIT { + Q_QML_EXPORT QV4::EvalISelFactory *createISelForArchitecture(const QString &architecture); } } ++#endif + QT_END_NAMESPACE +@@ -327,7 +329,9 @@ + QScopedPointer isel; + const QString targetArchitecture = parser.value(targetArchitectureOption); + ++#if defined(V4_BOOTSTRAP) + isel.reset(QV4::JIT::createISelForArchitecture(targetArchitecture)); ++#endif + + if (parser.isSet(checkIfSupportedOption)) { + if (isel.isNull())