Package: libtrio / 1.16+dfsg1-5

Metadata

Package Version Patches format
libtrio 1.16+dfsg1-5 3.0 (quilt)

Patch series

view the series file
Patch File delta Description
0001 Fixes compilation linking errors when using DTRIO_MI.patch | (download)

trionan.c | 11 7 + 4 - 0 !
trionan.h | 4 4 + 0 - 0 !
triostr.h | 3 3 + 0 - 0 !
3 files changed, 14 insertions(+), 4 deletions(-)

 [patch 1/2] fixes compilation / linking errors when using
 -DTRIO_MINIMAL:

triostr.h
trio_to_float() definition was required but missing.

trionan.[ch]
Using the combination of TRIO_PRIVATE_NAN and TRIO_INLINE
resulted in static inline and the linker complaining
that c99_fpclassify_and_signbit didn't exist (debian stretch/gcc/x86).
This may be also the case of all the other functions covered
by TRIO_FUNC_FPCLASSIFY_AND_SIGNBIT.

Solved by changing those functions to use TRIO_INLINE_NAN and
assigning it the value of INLINE only when not using -DTRIO_MINIMAL

0002 Simplify definition of c99_fpclassify_and_signbit to.patch | (download)

trionan.c | 2 1 + 1 - 0 !
1 file changed, 1 insertion(+), 1 deletion(-)

 [patch 2/2] simplify definition of c99_fpclassify_and_signbit to fix
 building with LTO

With C99 the inline keyword needs "static" as well if the function is defined
in only one translation unit.

See https://stackoverflow.com/questions/6312597/is-inline-without-static-or-extern-ever-useful-in-c99

Fixes: https://bugs.debian.org/1015528

0003 Use external LDFLAGS properly.patch | (download)

Makefile.in | 13 7 + 6 - 0 !
1 file changed, 7 insertions(+), 6 deletions(-)

 [patch 3/3] use external ldflags properly


01 fix roundig FTBFS.patch | (download)

regression.c | 2 2 + 0 - 0 !
1 file changed, 2 insertions(+)

 skip tests of rounding 0.5 since it is not reliable