kid3: fix musl build
This commit is contained in:
parent
fe5c2ab395
commit
b98d38cca8
1 changed files with 11 additions and 0 deletions
11
srcpkgs/kid3/patches/musl.patch
Normal file
11
srcpkgs/kid3/patches/musl.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/core/model/kid3application.cpp.orig
|
||||
+++ src/core/model/kid3application.cpp
|
||||
@@ -918,7 +918,7 @@
|
||||
taggedFile->closeFileHandle();
|
||||
}
|
||||
}
|
||||
-#if defined Q_OS_LINUX && !defined Q_OS_ANDROID
|
||||
+#if defined Q_OS_LINUX && defined __GLIBC__
|
||||
if (::malloc_trim(0)) {
|
||||
qDebug("Memory released by malloc_trim()");
|
||||
}
|
Loading…
Reference in a new issue