Summary(pl.UTF-8): Biblioteki Qt5 Declarative
Name: qt5-%{orgname}
Version: 5.11.1
-Release: 1
+Release: 2
License: LGPL v2.1 with Digia Qt LGPL Exception v1.1 or GPL v3.0
Group: X11/Libraries
Source0: http://download.qt.io/official_releases/qt/5.11/%{version}/submodules/%{orgname}-everywhere-src-%{version}.tar.xz
# Source0-md5: cc655aaa10c47a84c41e8f0eb3bce112
Source1: http://download.qt.io/official_releases/qt/5.11/%{version}/submodules/qttranslations-everywhere-src-%{version}.tar.xz
# Source1-md5: 67c0dbd61c2b92552b5339d82a94b1a8
+Patch0: x32-no-jit.patch
URL: http://www.qt.io/
BuildRequires: OpenGL-devel
BuildRequires: Qt5Core-devel >= %{qtbase_ver}
%prep
%setup -q -n %{orgname}-everywhere-src-%{version} %{?with_qm:-a1}
+%patch0 -p1
%build
qmake-qt5
--- /dev/null
+--- qtdeclarative-everywhere-src-5.11.1/src/qml/jsruntime/qv4global_p.h~ 2018-06-15 13:30:15.000000000 +0200
++++ qtdeclarative-everywhere-src-5.11.1/src/qml/jsruntime/qv4global_p.h 2018-08-06 09:12:27.950201394 +0200
+@@ -88,7 +88,7 @@ inline double trunc(double d) { return d
+ //
+ // NOTE: This should match the logic in qv4targetplatform_p.h!
+
+-#if defined(Q_PROCESSOR_X86) && (QT_POINTER_SIZE == 4) \
++#if defined(Q_PROCESSOR_X86) && !defined(Q_PROCESSOR_X86_64) && (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) \