pull in committed upstream commits for qml crasher (#1508924, kde#385413)
parent
8614cefd4f
commit
7bba167a69
@ -1 +1,3 @@
|
||||
/ktexteditor-5.39.0.tar.xz
|
||||
/0008-Avoid-a-QML-crash-triggered-by-C-style-indentation-s.patch
|
||||
/0009-Avoid-certain-crashes-while-executing-QML-scripts.patch
|
||||
|
@ -1,20 +0,0 @@
|
||||
Index: src/utils/kateglobal.cpp
|
||||
===================================================================
|
||||
--- a/src/utils/kateglobal.cpp
|
||||
+++ b/src/utils/kateglobal.cpp
|
||||
@@ -99,6 +99,15 @@
|
||||
// remember this
|
||||
staticInstance = this;
|
||||
|
||||
+#if QT_VERSION < QT_VERSION_CHECK(5, 9, 1)
|
||||
+ // disable the QML JIT compiler as a protection against an unknown bug
|
||||
+ // in Qt's V4 engine which can provoke a crash in certain of our scripts.
|
||||
+ // See https://bugreports.qt.io/browse/QTBUG-63045
|
||||
+ // and https://bugs.kde.org/show_bug.cgi?id=385413
|
||||
+ qputenv("QV4_FORCE_INTERPRETER", QByteArrayLiteral("1"));
|
||||
+ qCDebug(LOG_KTE) << "QV4_FORCE_INTERPRETER set to 1";
|
||||
+#endif
|
||||
+
|
||||
// init libgit2, we require at least 0.22 which has this function!
|
||||
#if LIBGIT2_FOUND
|
||||
git_libgit2_init();
|
@ -1 +1,3 @@
|
||||
SHA512 (ktexteditor-5.39.0.tar.xz) = a76828be990bd32275f7de2448e337750aa1766eed669aa7a8c199d3d7db002c9d2193d09cac789c73d7cee783b9b85a21f50563e5beff30fac484f414145f6f
|
||||
SHA512 (0008-Avoid-a-QML-crash-triggered-by-C-style-indentation-s.patch) = 7afac578dc1f00d6f2bb22bba5cfdeb6e018def4a61ee5134bea7c919c11df5b77eb49e58d9ad25bb39c049fd0d4a5cc878ce918cfcbf1bb3b7b29b0555b07fd
|
||||
SHA512 (0009-Avoid-certain-crashes-while-executing-QML-scripts.patch) = 94a271de8cf8453a594643fb0b68155b0de550533539638f8605832f47cd7b671c9d319f7794d0b6b585325d3fd11eb0723a87d1258d40d746591d21dde2d3ea
|
||||
|
Loading…
Reference in new issue