void-packages/srcpkgs/lmms/patches/musl.patch
John e713af1eda
lmms: update to 1.2.0rc5.
resolves #12793

Closes: #12876 [via git-merge-pr]
Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
2018-04-08 14:50:53 +02:00

11 lines
519 B
Diff

--- include/lmms_math.h 2017-12-19 18:24:15.000000000 +0100
+++ - 2018-03-24 13:02:25.850664825 +0100
@@ -34,7 +34,7 @@
#include <cmath>
using namespace std;
-#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__) || defined(__OpenBSD__)
+#if defined (LMMS_BUILD_WIN32) || defined (LMMS_BUILD_APPLE) || defined(LMMS_BUILD_HAIKU) || defined (__FreeBSD__) || defined(__OpenBSD__) || !defined(__GLIBC__)
#ifndef isnanf
#define isnanf(x) isnan(x)
#endif