Gentoo Archives: gentoo-commits

From: Michael Palimaka <kensington@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/qt:master commit in: dev-qt/qtdeclarative/files/
Date: Thu, 01 Oct 2015 17:23:32
Message-Id: 1443720157.07529d2a4ce81d8a3b6273a5ed6e39e15cd88fe9.kensington@gentoo
1 commit: 07529d2a4ce81d8a3b6273a5ed6e39e15cd88fe9
2 Author: Michael Palimaka <kensington <AT> gentoo <DOT> org>
3 AuthorDate: Thu Oct 1 17:22:37 2015 +0000
4 Commit: Michael Palimaka <kensington <AT> gentoo <DOT> org>
5 CommitDate: Thu Oct 1 17:22:37 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/qt.git/commit/?id=07529d2a
7
8 dev-qt/qtdeclarative: add missing patch
9
10 Gentoo-bug: 561986
11
12 Package-Manager: portage-2.2.20.1
13
14 .../files/qtdeclarative-5.4.2-disable-jit.patch | 18 ++++++++++++++++++
15 1 file changed, 18 insertions(+)
16
17 diff --git a/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch b/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch
18 new file mode 100644
19 index 0000000..7799ef7
20 --- /dev/null
21 +++ b/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch
22 @@ -0,0 +1,18 @@
23 +diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h
24 +index 4b08194..224ddb1 100644
25 +--- a/src/qml/jsruntime/qv4global_p.h
26 ++++ b/src/qml/jsruntime/qv4global_p.h
27 +@@ -96,8 +96,13 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); }
28 + # undef V4_ENABLE_JIT
29 + #endif
30 + #endif
31 +
32 ++// Gentoo note: disable the JIT due to USE="-jit"
33 ++#ifdef V4_ENABLE_JIT
34 ++#undef V4_ENABLE_JIT
35 ++#endif
36 ++
37 + // Do certain things depending on whether the JIT is enabled or disabled
38 +
39 + #ifdef V4_ENABLE_JIT
40 + #define ENABLE_YARR_JIT 1