Package: mruby Version: 1.1.0+20150601+gitbd2686d8-1 Severity: serious Tags: sid + patch User: debian-m...@lists.debian.org Usertags: mips-patch
Hello, Package mruby_1.1.0+20150601+gitbd2686d8-1 FTBFS on mips and mipsel: https://buildd.debian.org/status/fetch.php?pkg=mruby&arch=mips&ver=1.1.0%2B20150601%2Bgitbd2686d8-1&stamp=1433142411 https://buildd.debian.org/status/fetch.php?pkg=mruby&arch=mipsel&ver=1.1.0%2B20150601%2Bgitbd2686d8-1&stamp=1433138468 There is a solution for this issue upstream: https://github.com/mruby/mruby/commit/3bcf570a17d25783187c8aa3413bf48425b29619#diff-91a9f78b081c7ee9c0eb0538fe5efc76 With this change package builds successfully for MIPS. Please include this patch. Thank you! Regards, Jurica
--- mruby-1.1.0+20150601+gitbd2686d8.orig/src/fmt_fp.c +++ mruby-1.1.0+20150601+gitbd2686d8/src/fmt_fp.c @@ -90,7 +90,7 @@ fmt_u(uint32_t x, char *s) typedef char compiler_defines_long_double_incorrectly[9-(int)sizeof(long double)]; #endif -#if defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips) +#if (defined(__CYGWIN32__) || defined(__NetBSD__) || defined(mips)) && !defined(__linux__) static long double frexpl (long double x, int *eptr) {