From bdd71ef51bdd0b679a1384d3d8cce744ab2c9cc0 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Tue, 22 Nov 2022 01:34:45 -0600 Subject: user/qt-creator: Update to 4.15.2 Backport some fixes for LLVM 14 compatibility. Closes: #808 --- user/qt-creator/malloc_trim.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 user/qt-creator/malloc_trim.patch (limited to 'user/qt-creator/malloc_trim.patch') diff --git a/user/qt-creator/malloc_trim.patch b/user/qt-creator/malloc_trim.patch new file mode 100644 index 000000000..f7a012750 --- /dev/null +++ b/user/qt-creator/malloc_trim.patch @@ -0,0 +1,12 @@ +malloc_trim is not available on musl and it isn't needed anyway. +--- qt-creator-opensource-src-4.15.2/src/app/main.cpp.old 2021-07-12 21:12:53.000000000 -0500 ++++ qt-creator-opensource-src-4.15.2/src/app/main.cpp 2022-11-22 00:29:21.110626363 -0600 +@@ -782,7 +782,7 @@ + // 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: -- cgit v1.2.3-60-g2f50