From b98d38cca80848790b23935071337714bf563108 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sun, 19 May 2019 00:14:14 +0200 Subject: [PATCH] kid3: fix musl build --- srcpkgs/kid3/patches/musl.patch | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 srcpkgs/kid3/patches/musl.patch diff --git a/srcpkgs/kid3/patches/musl.patch b/srcpkgs/kid3/patches/musl.patch new file mode 100644 index 00000000000..9e4b3ec4c06 --- /dev/null +++ b/srcpkgs/kid3/patches/musl.patch @@ -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()"); + }