Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Sep 2016 18:10:12 +0000 (UTC)
From:      Koop Mast <kwm@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r422052 - in head/multimedia/libv4l: . files
Message-ID:  <201609131810.u8DIACnn087525@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: kwm
Date: Tue Sep 13 18:10:12 2016
New Revision: 422052
URL: https://svnweb.freebsd.org/changeset/ports/422052

Log:
  Apply the "old" dvb fontend.h ioctl hack to the dvbv5 version.
  So the ioctl doesn't error out.
  
  Submitted by:	hselasky@, Rozhuk Ivan <rozhuk.im@gmail.com>

Added:
  head/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h   (contents, props changed)
Modified:
  head/multimedia/libv4l/Makefile

Modified: head/multimedia/libv4l/Makefile
==============================================================================
--- head/multimedia/libv4l/Makefile	Tue Sep 13 18:09:33 2016	(r422051)
+++ head/multimedia/libv4l/Makefile	Tue Sep 13 18:10:12 2016	(r422052)
@@ -4,7 +4,7 @@
 
 PORTNAME?=	libv4l
 PORTVERSION=	1.6.3
-PORTREVISION?=	1
+PORTREVISION?=	2
 CATEGORIES=	multimedia
 MASTER_SITES=	http://linuxtv.org/downloads/v4l-utils/:master \
 		LOCAL/kwm:local

Added: head/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/multimedia/libv4l/files/patch-lib_include_libdvbv5_dvb-frontend.h	Tue Sep 13 18:10:12 2016	(r422052)
@@ -0,0 +1,17 @@
+--- ./lib/include/libdvbv5/dvb-frontend.h.orig	2016-09-13 19:57:29.863954000 +0200
++++ ./lib/include/libdvbv5/dvb-frontend.h	2016-09-13 19:58:07.703108000 +0200
+@@ -553,7 +553,13 @@
+ };
+ 
+ #define FE_SET_PROPERTY		   _IOW('o', 82, struct dtv_properties)
+-#define FE_GET_PROPERTY		   _IOR('o', 83, struct dtv_properties)
++/* 
++ * This is broken on linux as well but they workaround it in the driver.
++ * Since this is impossible to do on FreeBSD fix the header instead.
++ * Detailed and discussion :
++ * http://lists.freebsd.org/pipermail/freebsd-multimedia/2010-April/010958.html
++ */
++#define FE_GET_PROPERTY		   _IOW('o', 83, struct dtv_properties)
+ 
+ 
+ /**



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201609131810.u8DIACnn087525>