Debian Patches

Status for libtrio/1.16+dfsg1-5

Patch Description Author Forwarded Bugs Origin Last update
0001-Fixes-compilation-linking-errors-when-using-DTRIO_MI.patch [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
jose <jose.kahan@w3.org> no 2018-10-09
0002-Simplify-definition-of-c99_fpclassify_and_signbit-to.patch [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
Balint Reczey <balint@balintreczey.hu> no 2022-07-20
0003-Use-external-LDFLAGS-properly.patch [PATCH 3/3] Use external LDFLAGS properly Balint Reczey <balint@balintreczey.hu> no 2022-07-20
01-fix-roundig-FTBFS.patch Skip tests of rounding 0.5 since it is not reliable
diff --git a/regression.c b/regression.c
index 7e6bdf2..1681122 100644
Balint Reczey <balint@balintreczey.hu> yes debian

All known versions for source package 'libtrio'

Links