[oe-commits] Khem Raj : perl: Undefine finitel for musl

git at git.openembedded.org git at git.openembedded.org
Wed Jul 8 12:10:05 UTC 2015


Module: openembedded-core.git
Branch: master-next
Commit: 6a5cc63e2d054f5e328e8c535a3dd11dab876c41
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=6a5cc63e2d054f5e328e8c535a3dd11dab876c41

Author: Khem Raj <raj.khem at gmail.com>
Date:   Wed Jul  1 20:52:23 2015 -0700

perl: Undefine finitel for musl

finitel is not implemented in musl and since its not posix, it wont be
implemented in future too
Fixes perl 5.22 build error

perl/5.22.0-r0/perl-5.22.0/sv.c:12135: undefined reference to `finitel'
 | collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem at gmail.com>
Signed-off-by: Ross Burton <ross.burton at intel.com>

---

 meta/recipes-devtools/perl/perl_5.22.0.bb | 1 +
 1 file changed, 1 insertion(+)

diff --git a/meta/recipes-devtools/perl/perl_5.22.0.bb b/meta/recipes-devtools/perl/perl_5.22.0.bb
index 1aa9737..050a98c 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -158,6 +158,7 @@ do_configure() {
                        -e "s,\(d_stdiobase=\)'define',\1'undef',g" \
                        -e "s,\(d_stdstdio=\)'define',\1'undef',g" \
                        -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
+                       -e "s,\(d_finitel=\)'define',\1'undef',g" \
                        -e "s,\(getprotobyname_r=\)'define',\1'undef',g" \
                        -e "s,\(getpwent_r=\)'define',\1'undef',g" \
                        -e "s,\(getservent_r=\)'define',\1'undef',g" \



More information about the Openembedded-commits mailing list