diff options
author | Michael Palimaka <kensington@gentoo.org> | 2015-10-02 03:22:37 +1000 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2015-10-02 03:22:37 +1000 |
commit | 07529d2a4ce81d8a3b6273a5ed6e39e15cd88fe9 (patch) | |
tree | b5f6f43588da01a67a80d7f6e320991fd128af00 | |
parent | lxqt-base/liblxqt: dev-qt/linguist-tools is a build-time dependency (diff) | |
download | qt-07529d2a.tar.gz qt-07529d2a.tar.bz2 qt-07529d2a.zip |
dev-qt/qtdeclarative: add missing patch
Gentoo-bug: 561986
Package-Manager: portage-2.2.20.1
-rw-r--r-- | dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch | 18 |
1 files changed, 18 insertions, 0 deletions
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 new file mode 100644 index 00000000..7799ef71 --- /dev/null +++ b/dev-qt/qtdeclarative/files/qtdeclarative-5.4.2-disable-jit.patch @@ -0,0 +1,18 @@ +diff --git a/src/qml/jsruntime/qv4global_p.h b/src/qml/jsruntime/qv4global_p.h +index 4b08194..224ddb1 100644 +--- a/src/qml/jsruntime/qv4global_p.h ++++ b/src/qml/jsruntime/qv4global_p.h +@@ -96,8 +96,13 @@ inline double trunc(double d) { return d > 0 ? floor(d) : ceil(d); } + # undef V4_ENABLE_JIT + #endif + #endif + ++// Gentoo note: disable the JIT due to USE="-jit" ++#ifdef V4_ENABLE_JIT ++#undef V4_ENABLE_JIT ++#endif ++ + // Do certain things depending on whether the JIT is enabled or disabled + + #ifdef V4_ENABLE_JIT + #define ENABLE_YARR_JIT 1 |