Source: r-cran-rmpfr Version: 1.0-0-1 Severity: serious Tags: ftbfs patch X-Debbugs-Cc: Charles Plessy <ple...@debian.org>
https://buildd.debian.org/status/logs.php?pkg=r-cran-rmpfr&ver=1.0-0-1 ... convert.c: In function ‘R_mpfr_GET_EXP’: convert.c:71:21: error: ‘mpft_exp_t’ undeclared (first use in this function); did you mean ‘mpfr_exp_t’? 71 | r->_mpfr_exp = (mpft_exp_t) CAST_SIGNED(ex[0], unsigned int, int); | ^~~~~~~~~~ | mpfr_exp_t ... A fix is attached.
Description: Fix a typo that caused FTBFS on 32-bit Author: Adrian Bunk <b...@debian.org> --- r-cran-rmpfr-1.0-0.orig/src/convert.c +++ r-cran-rmpfr-1.0-0/src/convert.c @@ -68,7 +68,7 @@ static R_INLINE void R_mpfr_FILL_EXP(mpf } static R_INLINE void R_mpfr_GET_EXP(mpfr_t r, unsigned int *ex, unsigned int ex1) { - r->_mpfr_exp = (mpft_exp_t) CAST_SIGNED(ex[0], unsigned int, int); + r->_mpfr_exp = (mpfr_exp_t) CAST_SIGNED(ex[0], unsigned int, int); }