audio/fabla2-lv2: fix build with GCC-based architectures

PR:		236826
Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>
This commit is contained in:
Yuri Victorovich 2019-03-30 20:04:56 +00:00
parent 8df52cb370
commit 45544d97fd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=497342
3 changed files with 1 additions and 23 deletions

View file

@ -15,7 +15,7 @@ BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libsamplerate.so:audio/libsamplerate \
libsndfile.so:audio/libsndfile
USES= cmake pkgconfig
USES= cmake compiler:c++11-lang gnome pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= openAVproductions
GH_PROJECT= openAV-Fabla2

View file

@ -1,11 +0,0 @@
--- src/picojson.hxx.orig 2018-05-29 06:32:18 UTC
+++ src/picojson.hxx
@@ -204,7 +204,7 @@ inline value::value(double n) : type_(nu
#ifdef _MSC_VER
! _finite(n)
#elif __cplusplus>=201103L || !(defined(isnan) && defined(isinf))
- std::isnan(n) || std::isinf(n)
+ isnanf(n) || isinf(n)
#else
isnan(n) || isinf(n)
#endif

View file

@ -1,11 +0,0 @@
--- src/ui/avtk/avtk/picojson.hxx.orig 2018-05-29 06:34:11 UTC
+++ src/ui/avtk/avtk/picojson.hxx
@@ -204,7 +204,7 @@ inline value::value(double n) : type_(nu
#ifdef _MSC_VER
! _finite(n)
#elif __cplusplus>=201103L || !(defined(isnan) && defined(isinf))
- std::isnan(n) || std::isinf(n)
+ isnanf(n) || isinf(n)
#else
isnan(n) || isinf(n)
#endif