All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yen-Chin Lee <coldnew.tw@gmail.com>
To: openembedded-core@lists.openembedded.org
Subject: [PATCH] perl: Undefine finitel for uclibc
Date: Wed, 19 Aug 2015 05:54:03 +0000	[thread overview]
Message-ID: <1439963643-30697-1-git-send-email-coldnew.tw@gmail.com> (raw)

finitel is not implemented in uclibc 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: Yen-Chin Lee <coldnew.tw@gmail.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 e3a7f41..3ce7849 100644
--- a/meta/recipes-devtools/perl/perl_5.22.0.bb
+++ b/meta/recipes-devtools/perl/perl_5.22.0.bb
@@ -134,6 +134,7 @@ do_configure() {
         if [ "${TARGET_OS}" = "linux-uclibc" -o "${TARGET_OS}" = "linux-uclibceabi" ]; then
                 sed -i -e "s,\(d_crypt_r=\)'define',\1'undef',g" \
                        -e "s,\(d_futimes=\)'define',\1'undef',g" \
+                       -e "s,\(d_finitel=\)'define',\1'undef',g" \
                        -e "s,\(crypt_r_proto=\)'\w+',\1'0',g" \
                        -e "s,\(d_getnetbyname_r=\)'define',\1'undef',g" \
                        -e "s,\(getnetbyname_r_proto=\)'\w+',\1'0',g" \
-- 
2.3.6



             reply	other threads:[~2015-08-19  5:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-19  5:54 Yen-Chin Lee [this message]
2015-08-19  5:58 ` [PATCH] perl: Undefine finitel for uclibc Khem Raj

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1439963643-30697-1-git-send-email-coldnew.tw@gmail.com \
    --to=coldnew.tw@gmail.com \
    --cc=openembedded-core@lists.openembedded.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.