diff options
Diffstat (limited to 'dev-qt/qt-creator/files')
-rw-r--r-- | dev-qt/qt-creator/files/qt-creator-11.0.2-musl-no-malloc-trim.patch | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/dev-qt/qt-creator/files/qt-creator-11.0.2-musl-no-malloc-trim.patch b/dev-qt/qt-creator/files/qt-creator-11.0.2-musl-no-malloc-trim.patch deleted file mode 100644 index d4936882d4d2..000000000000 --- a/dev-qt/qt-creator/files/qt-creator-11.0.2-musl-no-malloc-trim.patch +++ /dev/null @@ -1,10 +0,0 @@ -malloc_trim() is unavailable with musl ---- a/src/plugins/coreplugin/mainwindow.cpp -+++ b/src/plugins/coreplugin/mainwindow.cpp -@@ -222,5 +222,5 @@ - m_trimTimer.setInterval(60000); - // glibc may not actually free memory in free(). --#ifdef Q_OS_LINUX -+#if defined(Q_OS_LINUX) && defined(__GLIBC__) - connect(&m_trimTimer, &QTimer::timeout, this, [] { malloc_trim(0); }); - #endif |