aboutsummaryrefslogtreecommitdiffstats
path: root/testing/qt-creator/fix-malloc-trim.patch
diff options
context:
space:
mode:
authorAlexey Minnekhanov <alexeymin@postmarketos.org>2021-06-25 04:59:46 +0300
committerBart Ribbers <bribbers@disroot.org>2021-06-25 11:18:53 +0000
commitba1d212d4c4e2f58a5ea0883620701baf4204b57 (patch)
treefd014041bce5988afd96700f1d33aff342e1059d /testing/qt-creator/fix-malloc-trim.patch
parentff08eb569b112c94aca0ba5ab85832562f7b0ee2 (diff)
testing/qt-creator: upgrade to 4.15.1
* switch to cmake buildsystem * build with clangbackend support * build with KF5SyntaxHightlighting
Diffstat (limited to 'testing/qt-creator/fix-malloc-trim.patch')
-rw-r--r--testing/qt-creator/fix-malloc-trim.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/qt-creator/fix-malloc-trim.patch b/testing/qt-creator/fix-malloc-trim.patch
new file mode 100644
index 00000000000..e699c3021ec
--- /dev/null
+++ b/testing/qt-creator/fix-malloc-trim.patch
@@ -0,0 +1,13 @@
+diff --git a/src/app/main.cpp b/src/app/main.cpp
+index 248fa8efef..4c27f65625 100644
+--- a/src/app/main.cpp
++++ b/src/app/main.cpp
+@@ -782,7 +782,7 @@ int main(int argc, char **argv)
+ // shutdown plugin manager on the exit
+ QObject::connect(&app, &QCoreApplication::aboutToQuit, &pluginManager, &PluginManager::shutdown);
+
+-#ifdef Q_OS_LINUX
++#if defined(Q_OS_LINUX) && defined(__GLIBC__)
+ class MemoryTrimmer : public QObject
+ {
+ public: