aboutsummaryrefslogtreecommitdiffstats
path: root/community/v4l-utils/fix-libdvbv5.patch
diff options
context:
space:
mode:
authorPedro Filipe <xpecex@outlook.com>2018-09-16 12:30:33 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2018-09-26 19:43:34 +0000
commita3125db4c3c1b9097fe9e2529137cc9741405e5b (patch)
treed6aff05fce0ef7761a4f5d23c6b1e6f6b5e0374e /community/v4l-utils/fix-libdvbv5.patch
parent8587556c28d14cd617debb127a85a075fb9a5275 (diff)
downloadaports-a3125db4c3c1b9097fe9e2529137cc9741405e5b.tar.bz2
aports-a3125db4c3c1b9097fe9e2529137cc9741405e5b.tar.xz
community/v4l-utils: upgrade to 1.14.2
change pkgrel to 0
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;
+
+