From owner-svn-ports-head@freebsd.org Tue Sep 13 18:10:13 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 91465BD9E82; Tue, 13 Sep 2016 18:10:13 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 49653B3F; Tue, 13 Sep 2016 18:10:13 +0000 (UTC) (envelope-from kwm@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u8DIACUH087527; Tue, 13 Sep 2016 18:10:12 GMT (envelope-from kwm@FreeBSD.org) Received: (from kwm@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u8DIACnn087525; Tue, 13 Sep 2016 18:10:12 GMT (envelope-from kwm@FreeBSD.org) Message-Id: <201609131810.u8DIACnn087525@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: kwm set sender to kwm@FreeBSD.org using -f From: Koop Mast Date: Tue, 13 Sep 2016 18:10:12 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r422052 - in head/multimedia/libv4l: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Sep 2016 18:10:13 -0000 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 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) + + + /**