mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-16 12:03:50 +02:00
libopenshot-audio: fix gcc6 build
This commit is contained in:
parent
2a7aee8c87
commit
a2cac698ef
2 changed files with 24 additions and 1 deletions
23
srcpkgs/libopenshot-audio/patches/fix-std_isfinite.patch
Normal file
23
srcpkgs/libopenshot-audio/patches/fix-std_isfinite.patch
Normal file
|
@ -0,0 +1,23 @@
|
||||||
|
Fix for gcc6 which does not have std::isfinite() but suggests
|
||||||
|
to use std::finite() instead.
|
||||||
|
|
||||||
|
--- JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h 2016-08-30 06:24:27.000000000 +0200
|
||||||
|
+++ JuceLibraryCode/modules/juce_core/maths/juce_MathsFunctions.h 2016-12-12 14:33:29.170005576 +0100
|
||||||
|
@@ -381,7 +381,7 @@
|
||||||
|
#if JUCE_WINDOWS && !JUCE_MINGW
|
||||||
|
return _finite (value) != 0;
|
||||||
|
#else
|
||||||
|
- return std::isfinite (value);
|
||||||
|
+ return finite (value);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
@@ -391,7 +391,7 @@
|
||||||
|
#if JUCE_WINDOWS && !JUCE_MINGW
|
||||||
|
return _finite (value) != 0;
|
||||||
|
#else
|
||||||
|
- return std::isfinite (value);
|
||||||
|
+ return finite (value);
|
||||||
|
#endif
|
||||||
|
}
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'libopenshot-audio'
|
# Template file for 'libopenshot-audio'
|
||||||
pkgname=libopenshot-audio
|
pkgname=libopenshot-audio
|
||||||
version=0.1.2
|
version=0.1.2
|
||||||
revision=1
|
revision=2
|
||||||
build_style=cmake
|
build_style=cmake
|
||||||
only_for_archs="x86_64 i686"
|
only_for_archs="x86_64 i686"
|
||||||
hostmakedepends="doxygen"
|
hostmakedepends="doxygen"
|
||||||
|
|
Loading…
Add table
Reference in a new issue