aports/community/konsole/0001-fix-musl-compatibility.patch
2022-04-23 18:33:21 +02:00

14 lines
409 B
Diff

diff --git a/src/Screen.cpp b/src/Screen.cpp
index e5fb76c1..d4d81d5f 100644
--- a/src/Screen.cpp
+++ b/src/Screen.cpp
@@ -1801,7 +1801,7 @@ void Screen::setScroll(const HistoryType &t, bool copyPreviousScroll)
#ifdef HAVE_MALLOC_H
#ifdef Q_OS_LINUX
-#ifdef __GNUC__
+#ifdef __GLIBC__
// We might have been using gigabytes of memory, so make sure it is actually released
malloc_trim(0);
#endif