Source: lierolibre Severity: serious Tags: patch Justification: fails to build from source
Dear maintainer, please allow or add mipsel to the arch list of lierolibre. You can find attached a patchfor d/patches/ to achieve it. Thanks, best regards.
Description: add mips to allowed arches Allow mips* arches to be built, adding it to the list of arches. Origin: upstream, https://gitlab.com/lierolibre/lierolibre/issues/2 Bug: https://gitlab.com/lierolibre/lierolibre/issues/2 Forwarded: https://gitlab.com/lierolibre/lierolibre/issues/2 Reviewed-By: Arturo Borrero Gonzalez <[email protected]> Last-Update: 2015-06-28 --- lierolibre-0.5.orig/src/gvl/math/ieee.cpp +++ lierolibre-0.5/src/gvl/math/ieee.cpp @@ -52,7 +52,7 @@ extern unsigned char const scaledown[10] void gvl_init_ieee() { -#if GVL_MSVCPP +#if GVL_MSVCPP || defined(_MIPS_ARCH_MIPS2) // Nothing needs to be done, TODO: we should however check that the x87 state is right #elif GVL_GCC && GVL_WIN32 unsigned int const flags = _RC_NEAR | _PC_53 | _EM_INVALID | _EM_DENORMAL | _EM_ZERODIVIDE | _EM_OVERFLOW | _EM_UNDERFLOW | _EM_INEXACT; --- lierolibre-0.5.orig/src/gvl/support/platform.h +++ lierolibre-0.5/src/gvl/support/platform.h @@ -85,7 +85,7 @@ #if !GVL_X86 && !GVL_X86_64 # if defined(_M_X64) || defined(__x86_64__) || GVL_WIN64 # define GVL_X86_64 1 -# elif defined(__i386__) || defined(_M_IX86) || defined(i386) || defined(i486) || defined(intel) || defined(x86) || defined(i86pc) +# elif defined(__i386__) || defined(_M_IX86) || defined(i386) || defined(i486) || defined(intel) || defined(x86) || defined(i86pc) || defined(_MIPS_ARCH_MIPS2) # define GVL_X86 1 # else # error "Unknown architecture, please add it"

