]> code.ossystems Code Review - openembedded-core.git/commit
ruby: configure mis-detects isnan/isinf on musl
authorAndré Draszik <andre.draszik@jci.com>
Tue, 1 Oct 2019 09:54:50 +0000 (10:54 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 2 Oct 2019 09:09:28 +0000 (10:09 +0100)
commitb1afaccdba31341cace4b8d84d118ca76098587e
tree64cc0fdff76cef474dc5932200b3515aa9f22e9c
parent90dbe9019c81e25923ed450df80b4401d16287b4
ruby: configure mis-detects isnan/isinf on musl

The configure script does not detect isnan/isinf as macros
as is the case in musl:
    checking for isinf... no
    checking for isnan... no

Backport an upstream patch from 2.7.0-preview1 to address this:
    checking whether isinf is declared... yes
    checking whether isnan is declared... yes

Signed-off-by: André Draszik <andre.draszik@jci.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-devtools/ruby/ruby/0001-configure.ac-check-finite-isinf-isnan-as-macros-firs.patch [new file with mode: 0644]
meta/recipes-devtools/ruby/ruby_2.5.5.bb