compilation of grace fails with
gcc -O2 -march=i686 -pipe -I.. -I. -c -o pars.o pars.c
pars.yacc:5421: error: 'log2' undeclared here (not in a function)
With glibc-2.7-r2
/usr/include/bits/mathcalls.h
contains the lines
#ifdef __USE_ISOC99
__BEGIN_NAMESPACE_C99
/* Compute base-2 exponential of X. */
__MATHCALL (exp2,, (_Mdouble_ __x));
/* Compute base-2 logarithm of X. */
__MATHCALL (log2,, (_Mdouble_ __x));
__END_NAMESPACE_C99
#endif
but config.h contains
#define HAVE_LOG2 1
Adding the line
--with-cc="gcc -std=c99" \
in src_compile() in the ebuild fixes this error.
But unfortunately other errors occur lateron.
Probably confgure has to be fixed.
Sorry I can't help on that one.
Reproducible: Always