From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/1] xenomai: fix build failure when HAVE_OPEN64 is undefined
Date: Sun, 29 Dec 2013 22:24:44 +0100 [thread overview]
Message-ID: <20131229212444.GN3567@free.fr> (raw)
In-Reply-To: <1388351123-16936-1-git-send-email-romain.naour@openwide.fr>
Romain, All,
On 2013-12-29 22:05 +0100, Romain Naour spake thusly:
> fixes: http://autobuild.buildroot.org/results/d59/d590be34637a4043c929ce615f9db504484be435/build-end.log
>
> Signed-off-by: Romain Naour <romain.naour@openwide.fr>
This is an upstream patch, so:
Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
> ---
> ...uild-failure-when-HAVE_OPEN64-is-undefine.patch | 30 ++++++++++++++++++++++
> 1 file changed, 30 insertions(+)
> create mode 100644 package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch
>
> diff --git a/package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch b/package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch
> new file mode 100644
> index 0000000..ce43676
> --- /dev/null
> +++ b/package/xenomai/xenomai-0002-posix-fix-build-failure-when-HAVE_OPEN64-is-undefine.patch
> @@ -0,0 +1,30 @@
> +From 71345fe15f126ae3a596af309945d0af6edfbbbb Mon Sep 17 00:00:00 2001
> +From: Romain Naour <romain.naour@openwide.fr>
> +Date: Sun, 29 Dec 2013 18:00:25 +0100
> +Subject: [PATCH 1/1] posix: fix build failure when HAVE_OPEN64 is undefined.
> +
> +fixes: http://autobuild.buildroot.org/results/d59/d590be34637a4043c929ce615f9db504484be435/build-end.log
> +
> +Signed-off-by: Romain Naour <romain.naour@openwide.fr>
It would be nice to say that this is an upstream patch, so it finds its
way into Buildroot quickly. ;-)
Something like:
Upstream patch:
http://git.xenomai.org/xenomai-2.6.git/commit/?id=71345fe15f126ae3a596af309945d0af6edfbbbb
Regards,
Yann E. MORIN.
> +---
> + src/skins/posix/rtdm.c | 3 ++-
> + 1 file changed, 2 insertions(+), 1 deletion(-)
> +
> +diff --git a/src/skins/posix/rtdm.c b/src/skins/posix/rtdm.c
> +index 5840c64..d6c87dc 100644
> +--- a/src/skins/posix/rtdm.c
> ++++ b/src/skins/posix/rtdm.c
> +@@ -107,8 +107,9 @@ int __wrap_open64(const char *path, int oflag, ...)
> + errno = EMFILE;
> + ret = -1;
> + }
> ++ }
> + #endif
> +- } else {
> ++ else {
> + errno = -ret;
> + ret = -1;
> + }
> +--
> +1.8.1.4
> +
> --
> 1.8.1.4
>
> _______________________________________________
> buildroot mailing list
> buildroot at busybox.net
> http://lists.busybox.net/mailman/listinfo/buildroot
--
.-----------------.--------------------.------------------.--------------------.
| Yann E. MORIN | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software Designer | \ / CAMPAIGN | ___ |
| +33 223 225 172 `------------.-------: X AGAINST | \e/ There is no |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL | v conspiracy. |
'------------------------------^-------^------------------^--------------------'
next prev parent reply other threads:[~2013-12-29 21:24 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-12-29 21:05 [Buildroot] [PATCH 1/1] xenomai: fix build failure when HAVE_OPEN64 is undefined Romain Naour
2013-12-29 21:24 ` Yann E. MORIN [this message]
2013-12-29 22:02 ` Romain Naour
2013-12-29 22:11 ` Yann E. MORIN
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=20131229212444.GN3567@free.fr \
--to=yann.morin.1998@free.fr \
--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.