This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/cgit.cgi/v4l-utils.git tree:
Subject: ir-ctl: add optional copy of TEMP_FAILURE_RETRY macro (fix musl compile) Author: Peter Seiderer <[email protected]> Date: Mon Feb 20 17:33:44 2017 -0300 Fixes buildroot musl compile (see [1], [2]): ir-ctl.c:(.text+0xe01): undefined reference to `TEMP_FAILURE_RETRY' [1] http://autobuild.buildroot.net/results/b8b96c7bbf2147dacac62485cbfdbcfd758271a5 [2] http://lists.busybox.net/pipermail/buildroot/2017-February/184048.html Signed-off-by: Peter Seiderer <[email protected]> Signed-off-by: Sean Young <[email protected]> Signed-off-by: Mauro Carvalho Chehab <[email protected]> utils/ir-ctl/ir-ctl.c | 8 ++++++++ 1 file changed, 8 insertions(+) --- http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=38e099d8674851ddef6f371e8f7cf67acf57c59a diff --git a/utils/ir-ctl/ir-ctl.c b/utils/ir-ctl/ir-ctl.c index f938b4299c13..36e61b0e379e 100644 --- a/utils/ir-ctl/ir-ctl.c +++ b/utils/ir-ctl/ir-ctl.c @@ -44,6 +44,14 @@ # define N_(string) string +/* taken from glibc unistd.h */ +#ifndef TEMP_FAILURE_RETRY +#define TEMP_FAILURE_RETRY(expression) \ + ({ long int __result; \ + do __result = (long int) (expression); \ + while (__result == -1L && errno == EINTR); \ + __result; }) +#endif /* See drivers/media/rc/ir-lirc-codec.c line 23 */ #define LIRCBUF_SIZE 512 _______________________________________________ linuxtv-commits mailing list [email protected] https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
