summaryrefslogtreecommitdiff
path: root/experimental/lmms/isinff.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-20 20:38:17 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2019-01-20 20:38:17 +0000
commit66153ac5644682bc3868bceb3c25f0d6e9b9ccd3 (patch)
tree44b845e04751519bf1049be322a312a963c82656 /experimental/lmms/isinff.patch
parent6c8123a19e741ca20f80a5a2d592d780480984f1 (diff)
downloadpackages-66153ac5644682bc3868bceb3c25f0d6e9b9ccd3.tar.gz
packages-66153ac5644682bc3868bceb3c25f0d6e9b9ccd3.tar.bz2
packages-66153ac5644682bc3868bceb3c25f0d6e9b9ccd3.tar.xz
packages-66153ac5644682bc3868bceb3c25f0d6e9b9ccd3.zip
experimental/lmms: new package (broken on BE)
Upstream tracker: https://github.com/LMMS/lmms/issues/4784
Diffstat (limited to 'experimental/lmms/isinff.patch')
-rw-r--r--experimental/lmms/isinff.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/experimental/lmms/isinff.patch b/experimental/lmms/isinff.patch
new file mode 100644
index 000000000..6c83c5052
--- /dev/null
+++ b/experimental/lmms/isinff.patch
@@ -0,0 +1,11 @@
+--- lmms-1.2.0-rc7/include/lmms_math.h.old 2018-09-25 07:47:51.000000000 +0000
++++ lmms-1.2.0-rc7/include/lmms_math.h 2019-01-20 19:22:47.190000000 +0000
+@@ -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(LMMS_BUILD_LINUX) && !defined(__GLIBC__))
+ #ifndef isnanf
+ #define isnanf(x) isnan(x)
+ #endif