From 9ecb844f5b8cb49cae84f1ebe770661d79071dd2 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Mon, 15 Jan 2018 04:58:38 -0200 Subject: [PATCH] qv4l2: update to 1.14.1. Closes: #10832 [via git-merge-pr] --- .../patches/musl-temp-failure-retry.patch | 19 +++++++++++++++++++ srcpkgs/qv4l2/template | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/qv4l2/patches/musl-temp-failure-retry.patch diff --git a/srcpkgs/qv4l2/patches/musl-temp-failure-retry.patch b/srcpkgs/qv4l2/patches/musl-temp-failure-retry.patch new file mode 100644 index 00000000000..f83075340ff --- /dev/null +++ b/srcpkgs/qv4l2/patches/musl-temp-failure-retry.patch @@ -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; + diff --git a/srcpkgs/qv4l2/template b/srcpkgs/qv4l2/template index dc9a022f1bd..08b8db2ec3a 100644 --- a/srcpkgs/qv4l2/template +++ b/srcpkgs/qv4l2/template @@ -1,6 +1,6 @@ # Template file for 'qv4l2' pkgname=qv4l2 -version=1.12.5 +version=1.14.1 revision=1 wrksrc="v4l-utils-${version}" build_style=gnu-configure @@ -13,7 +13,7 @@ maintainer="Juan RP " homepage="https://linuxtv.org/" license="GPL-2, LGPL-2.1" distfiles="http://linuxtv.org/downloads/v4l-utils/v4l-utils-${version}.tar.bz2" -checksum=0618162ddb0b57fe7c45407d4d66ed79e3a134cdbc9e72598d34e61d3359e20d +checksum=7974e5626447407d8a1ed531da0461c0fe00e599a696cb548a240d17d3519005 nocross="detects X11/GL support incorrectly"