aboutsummaryrefslogtreecommitdiffstats
path: root/community/v4l-utils/fix-libdvbv5.patch
diff options
context:
space:
mode:
Diffstat (limited to 'community/v4l-utils/fix-libdvbv5.patch')
-rw-r--r--community/v4l-utils/fix-libdvbv5.patch19
1 files changed, 19 insertions, 0 deletions
diff --git a/community/v4l-utils/fix-libdvbv5.patch b/community/v4l-utils/fix-libdvbv5.patch
new file mode 100644
index 0000000000..72e169adb4
--- /dev/null
+++ b/community/v4l-utils/fix-libdvbv5.patch
@@ -0,0 +1,19 @@
+--- 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;
+
+