parent
ea011fb11c
commit
9ecb844f5b
2 changed files with 21 additions and 2 deletions
19
srcpkgs/qv4l2/patches/musl-temp-failure-retry.patch
Normal file
19
srcpkgs/qv4l2/patches/musl-temp-failure-retry.patch
Normal file
|
@ -0,0 +1,19 @@
|
||||||
|
--- lib/libdvbv5/dvb-dev-local.c
|
||||||
|
+++ lib/libdvbv5/dvb-dev-local.c
|
||||||
|
@@ -44,6 +44,16 @@
|
||||||
|
# define _(string) string
|
||||||
|
#endif
|
||||||
|
|
||||||
|
+/* taken from glibc unistd.h and fixes musl */
|
||||||
|
+#ifndef TEMP_FAILURE_RETRY
|
||||||
|
+#define TEMP_FAILURE_RETRY(expression) \
|
||||||
|
+ (__extension__ \
|
||||||
|
+ ({ 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;
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
# Template file for 'qv4l2'
|
# Template file for 'qv4l2'
|
||||||
pkgname=qv4l2
|
pkgname=qv4l2
|
||||||
version=1.12.5
|
version=1.14.1
|
||||||
revision=1
|
revision=1
|
||||||
wrksrc="v4l-utils-${version}"
|
wrksrc="v4l-utils-${version}"
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
|
@ -13,7 +13,7 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="https://linuxtv.org/"
|
homepage="https://linuxtv.org/"
|
||||||
license="GPL-2, LGPL-2.1"
|
license="GPL-2, LGPL-2.1"
|
||||||
distfiles="http://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2"
|
distfiles="http://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2"
|
||||||
checksum=0618162ddb0b57fe7c45407d4d66ed79e3a134cdbc9e72598d34e61d3359e20d
|
checksum=7974e5626447407d8a1ed531da0461c0fe00e599a696cb548a240d17d3519005
|
||||||
|
|
||||||
nocross="detects X11/GL support incorrectly"
|
nocross="detects X11/GL support incorrectly"
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue