liquid-dsp: wrapping isnan in T_ABS to help compilation w/ certain gcc
authorVicente Olivert Riera <Vincent.Riera@imgtec.com>
Mon, 23 May 2016 10:43:38 +0000 (11:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 23 May 2016 10:57:27 +0000 (12:57 +0200)
commit917fa2ca2301a757a906959f0b3bc9f8a9225022
treeb0408864bed48503883838afe955c51b7208f877
parent012e10bf6215cbfc8006003e42dee8167d6cd1ef
liquid-dsp: wrapping isnan in T_ABS to help compilation w/ certain gcc

Backporting an upstreamed patch in order to fix a build failure like
this one:

In file included from src/math/src/polyc.c:43:0:
src/math/src/poly.findroots.c: In function
'polyc_findroots_bairstow_recursion':
src/math/src/poly.findroots.c:305:9: error: non-floating-point argument
in call to function '__builtin_isnan'
         if (isnan(du) || isnan(dv)) {

Upstream commit URL:

  https://github.com/jgaeddert/liquid-dsp/commit/3055eb3da9d0a202c1a975f7db0c8370a09a30bc

Fixes:

  http://autobuild.buildroot.net/results/01d/01d7d4f34b256bcdf30b16180c015f146bd50e63/

Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
[Thomas: tweak patch format.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/liquid-dsp/0002-math-poly-wrapping-isnan-in-T_ABS-to-help-compilatio.patch [new file with mode: 0644]