All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yann E. MORIN <yann.morin.1998@free.fr>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 1/3] tslib: fix missing headers
Date: Sun, 15 Jan 2017 17:17:45 +0100	[thread overview]
Message-ID: <20170115161745.GB3552@free.fr> (raw)
In-Reply-To: <9af1cba158ce6dcb96f5f121d4105895fea911b9.1484425049.git.baruch@tkos.co.il>

Baruch, All,

On 2017-01-14 22:17 +0200, Baruch Siach spake thusly:
> Add a patch adding missing headers.
> 
> Fixes:
> http://autobuild.buildroot.net/results/cb8/cb81abe996b0fb0070ddcd01c0d695bcc0570548/
> http://autobuild.buildroot.net/results/88a/88add491e10f2f7edeb15e0def8843f1321ac7af/
> http://autobuild.buildroot.net/results/9db/9db1d64fd08c8763a1648e78d7b9155777de6cae/
> 
> Signed-off-by: Baruch Siach <baruch@tkos.co.il>

Damned, I did the patch for nothing... ;-)

Acked-by: "Yann E. MORIN" <yann.morin.1998@free.fr>

Regards,
Yann E. MORIN.

> ---
>  ...01-tests-ts_calibrate-add-missing-headers.patch | 35 ++++++++++++++++++++++
>  1 file changed, 35 insertions(+)
>  create mode 100644 package/tslib/0001-tests-ts_calibrate-add-missing-headers.patch
> 
> diff --git a/package/tslib/0001-tests-ts_calibrate-add-missing-headers.patch b/package/tslib/0001-tests-ts_calibrate-add-missing-headers.patch
> new file mode 100644
> index 000000000000..97cd4beacaba
> --- /dev/null
> +++ b/package/tslib/0001-tests-ts_calibrate-add-missing-headers.patch
> @@ -0,0 +1,35 @@
> +From 54b66bfe405d8b70c703684e60bedbad5c7d4213 Mon Sep 17 00:00:00 2001
> +From: Baruch Siach <baruch@tkos.co.il>
> +Date: Sat, 14 Jan 2017 21:35:53 +0200
> +Subject: [PATCH] tests/ts_calibrate: add missing headers
> +
> +The open(2) system call requires sys/types.h and sys/stat.h. Fix the following
> +build failure under uClibc-ng:
> +
> +ts_calibrate.c: In function ?main?:
> +ts_calibrate.c:248:19: error: ?S_IRUSR? undeclared (first use in this function)
> +                   S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
> +                   ^
> +
> +Signed-off-by: Baruch Siach <baruch@tkos.co.il>
> +---
> +Upstream status: https://github.com/kergoth/tslib/pull/59
> + tests/ts_calibrate.c | 2 ++
> + 1 file changed, 2 insertions(+)
> +
> +diff --git a/tests/ts_calibrate.c b/tests/ts_calibrate.c
> +index c6652e479d4b..9a98d1f86205 100644
> +--- a/tests/ts_calibrate.c
> ++++ b/tests/ts_calibrate.c
> +@@ -17,6 +17,8 @@
> + #include <string.h>
> + #include <unistd.h>
> + #include <sys/time.h>
> ++#include <sys/types.h>
> ++#include <sys/stat.h>
> + 
> + #ifdef __ANDROID__
> + #include <fcntl.h>
> +-- 
> +2.11.0
> +
> -- 
> 2.11.0
> 
> _______________________________________________
> 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.  |
'------------------------------^-------^------------------^--------------------'

  parent reply	other threads:[~2017-01-15 16:17 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-14 20:17 [Buildroot] [PATCH 1/3] tslib: fix missing headers Baruch Siach
2017-01-14 20:17 ` [Buildroot] [PATCH 2/3] tslib: disable raw input plugin under kernel < v3.12 Baruch Siach
2017-01-15 16:27   ` Yann E. MORIN
2017-01-16 12:17   ` Peter Korsgaard
2017-01-14 20:17 ` [Buildroot] [PATCH 3/3] tslib: use upstream .tar.xz archive Baruch Siach
2017-01-15 16:27   ` Yann E. MORIN
2017-01-16 12:19   ` Peter Korsgaard
2017-01-15 16:17 ` Yann E. MORIN [this message]
2017-01-16 12:17 ` [Buildroot] [PATCH 1/3] tslib: fix missing headers 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=20170115161745.GB3552@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.