commit dbb1498f79fc6357041f3d4cf5e698512c7b177d
Author: Sérgio M. Basto <sergio(a)serjux.com>
Date: Wed Aug 1 00:39:08 2018 +0100
Add missing patch
libopenshot-audio-isfinite.patch | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
---
diff --git a/libopenshot-audio-isfinite.patch b/libopenshot-audio-isfinite.patch
new file mode 100644
index 0000000..456c7d5
--- /dev/null
+++ b/libopenshot-audio-isfinite.patch
@@ -0,0 +1,22 @@
+--- a/JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h
++++ b/JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h
+@@ -381,7 +381,8 @@ inline bool juce_isfinite (float value) noexcept
+ #if JUCE_WINDOWS && !JUCE_MINGW
+ return _finite (value) != 0;
+ #else
+- return std::isfinite (value);
++ using namespace std;
++ return isfinite (value);
+ #endif
+ }
+
+@@ -391,7 +392,8 @@ inline bool juce_isfinite (double value) noexcept
+ #if JUCE_WINDOWS && !JUCE_MINGW
+ return _finite (value) != 0;
+ #else
+- return std::isfinite (value);
++ using namespace std;
++ return isfinite (value);
+ #endif
+ }
+