From: Christopher McCrory <chrismcc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/2] perl-sys-cpu: remove extraneous include
Date: Thu, 27 Sep 2018 07:46:46 -0700 [thread overview]
Message-ID: <20180927144646.20954-3-chrismcc@gmail.com> (raw)
In-Reply-To: <20180927144646.20954-1-chrismcc@gmail.com>
remove extraneous include <sys/unistd.h>
in glibc this points back to include unistd.h
neither musl, nor uclib have it.
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
| 10 ++++++++++
1 file changed, 10 insertions(+)
create mode 100644 package/perl-sys-cpu/0001-remove-extraneous-include.patch
--git a/package/perl-sys-cpu/0001-remove-extraneous-include.patch b/package/perl-sys-cpu/0001-remove-extraneous-include.patch
new file mode 100644
index 0000000000..2ef11a0226
--- /dev/null
+++ b/package/perl-sys-cpu/0001-remove-extraneous-include.patch
@@ -0,0 +1,10 @@
+--- perl-sys-cpu-0.52/CPU.xs.orig 2018-09-18 10:23:48.473223024 -0700
++++ perl-sys-cpu-0.52/CPU.xs 2018-09-18 10:24:40.973670159 -0700
+@@ -24,7 +24,6 @@
+ #include <winreg.h>
+ #else /* other (try unix) */
+ #include <unistd.h>
+- #include <sys/unistd.h>
+ #endif
+ #if defined(__sun) || defined(__sun__)
+ #include <sys/processor.h>
--
2.14.4
next prev parent reply other threads:[~2018-09-27 14:46 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-09-27 14:46 [Buildroot] [PATCH 0/2] perl-sys-cpu fixes Christopher McCrory
2018-09-27 14:46 ` [Buildroot] [PATCH 1/2] perl-sys-cpu: disable static builds Christopher McCrory
2018-10-08 19:56 ` Thomas Petazzoni
2018-09-27 14:46 ` Christopher McCrory [this message]
2018-10-08 19:57 ` [Buildroot] [PATCH 2/2] perl-sys-cpu: remove extraneous include Thomas Petazzoni
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=20180927144646.20954-3-chrismcc@gmail.com \
--to=chrismcc@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 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.