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: libdvbv5: fix musl compile
Author:  Peter Seiderer <ps.rep...@gmx.net>
Date:    Sun Mar 4 03:42:04 2018 -0500

Add optional copy of TEMP_FAILURE_RETRY macro in order to
fix musl compile.

Fixes:

  ../../lib/libdvbv5/.libs/libdvbv5.so: undefined reference to 
`TEMP_FAILURE_RETRY'

Signed-off-by: Peter Seiderer <ps.rep...@gmx.net>

 lib/libdvbv5/dvb-dev-local.c | 9 +++++++++
 1 file changed, 9 insertions(+)

---

http://git.linuxtv.org/cgit.cgi/v4l-utils.git/commit/?id=c28248deeb2d7fe43fcde948c00b9b8fa2bc1e8f
diff --git a/lib/libdvbv5/dvb-dev-local.c b/lib/libdvbv5/dvb-dev-local.c
index 8bc99d1cc7d1..7a76d65d2344 100644
--- a/lib/libdvbv5/dvb-dev-local.c
+++ b/lib/libdvbv5/dvb-dev-local.c
@@ -44,6 +44,15 @@
 # define _(string) string
 #endif
 
+/* 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
+
 struct dvb_dev_local_priv {
        dvb_dev_change_t notify_dev_change;
 

_______________________________________________
linuxtv-commits mailing list
linuxtv-commits@linuxtv.org
https://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits

Reply via email to