Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
From: Alex Suykov <alex.suykov@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH v2] perl: remove poisoned path from dynaloader hints
Date: Sun, 8 Feb 2015 20:02:37 +0200	[thread overview]
Message-ID: <20150208180237.GA29480@vostro> (raw)

Fixes
http://autobuild.buildroot.net/results/323a82776cccf17afaa00ebe3483cfc06a06f264/
http://autobuild.buildroot.net/results/7d4cf7b63fda1a062263b7a4e758c699049105af/

Signed-off-by: Alex Suykov <alex.suykov@gmail.com>

---
 package/perl/0002-dynaloader-hints.patch | 13 +++++++++++++
 1 file changed, 13 insertions(+)
 create mode 100644 package/perl/0002-dynaloader-hints.patch

diff --git a/package/perl/0002-dynaloader-hints.patch b/package/perl/0002-dynaloader-hints.patch
new file mode 100644
index 0000000..2653b78
--- /dev/null
+++ b/package/perl/0002-dynaloader-hints.patch
@@ -0,0 +1,13 @@
+Buildroot puts nlist.h into sysroot/usr/include,
+which is in the default include path.
+
+Signed-off-by: Alex Suykov <alex.suykov@gmail.com>
+
+--- a/ext/DynaLoader/hints/linux.pl
++++ b/ext/DynaLoader/hints/linux.pl
+@@ -1,5 +1 @@
+-# XXX Configure test needed.
+-# Some Linux releases like to hide their <nlist.h>
+-$self->{CCFLAGS} = $Config{ccflags} . ' -I/usr/include/libelf'
+-	if -f "/usr/include/libelf/nlist.h";
+ 1;
-- 
2.0.3

             reply	other threads:[~2015-02-08 18:02 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-08 18:02 Alex Suykov [this message]
2015-02-08 21:17 ` [Buildroot] [PATCH v2] perl: remove poisoned path from dynaloader hints Peter Korsgaard

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=20150208180237.GA29480@vostro \
    --to=alex.suykov@gmail.com \
    --cc=buildroot@busybox.net \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox