- drop useless qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch,

apply correct qtdeclarative-opensource-src-5.9.0-no_sse2.patch to
  fix the build issue in JIT on ppc64/ppc64le/s390x
This commit is contained in:
Than Ngo 2017-05-08 16:10:09 +02:00
parent 5c1f9cd8b2
commit 2d0d4e704e
2 changed files with 6 additions and 27 deletions

View File

@ -10,7 +10,7 @@
Summary: Qt5 - QtDeclarative component Summary: Qt5 - QtDeclarative component
Name: qt5-%{qt_module} Name: qt5-%{qt_module}
Version: 5.9.0 Version: 5.9.0
Release: 0.beta.3%{?dist} Release: 0.beta.4%{?dist}
# See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details # See LICENSE.GPL LICENSE.LGPL LGPL_EXCEPTION.txt, for details
License: LGPLv2 with exceptions or GPLv3 with exceptions License: LGPLv2 with exceptions or GPLv3 with exceptions
@ -25,7 +25,6 @@ Patch1: qtdeclarative-opensource-src-5.9.0-no_sse2.patch
# https://bugzilla.redhat.com/show_bug.cgi?id=1237269 # https://bugzilla.redhat.com/show_bug.cgi?id=1237269
# https://bugs.kde.org/show_bug.cgi?id=348385 # https://bugs.kde.org/show_bug.cgi?id=348385
Patch2: qtdeclarative-QQuickShaderEffectSource_deadlock.patch Patch2: qtdeclarative-QQuickShaderEffectSource_deadlock.patch
Patch3: qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch
## upstream patches ## upstream patches
@ -87,7 +86,6 @@ Requires: %{name}%{?_isa} = %{version}-%{release}
%patch1 -p1 -b .no_sse2 %patch1 -p1 -b .no_sse2
%endif %endif
%patch2 -p1 -b .QQuickShaderEffectSource_deadlock %patch2 -p1 -b .QQuickShaderEffectSource_deadlock
%patch3 -p1 -b .v5boot
%patch201 -p0 -b .kdebug346118 %patch201 -p0 -b .kdebug346118
%patch202 -p1 -b .nojitsupport %patch202 -p1 -b .nojitsupport
@ -212,6 +210,11 @@ make check -k -C %{_target_platform}/tests ||:
%{_qt5_examplesdir}/ %{_qt5_examplesdir}/
%changelog %changelog
* Mon May 08 2017 Than Ngo <than@redhat.com> - 5.9.0-0.beta.4
- drop useless qtdeclarative-opensource-src-5.9.0-v4bootstrap.patch,
apply correct qtdeclarative-opensource-src-5.9.0-no_sse2.patch to
fix the build issue in JIT on ppc64/ppc64le/s390x
* Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3 * Fri May 05 2017 Helio Chissini de Castro <helio@kde.org> - 5.9.0-0.beta.3
- New upstream beta3 release - New upstream beta3 release

View File

@ -1,24 +0,0 @@
--- 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 @@
QT_BEGIN_NAMESPACE
+#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<QV4::EvalISelFactory> 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())