From owner-svn-ports-head@FreeBSD.ORG Sat Sep 6 15:44:10 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id BE444D3C; Sat, 6 Sep 2014 15:44:10 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::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 8F6D814B4; Sat, 6 Sep 2014 15:44:10 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s86FiAaS065668; Sat, 6 Sep 2014 15:44:10 GMT (envelope-from nox@FreeBSD.org) Received: (from nox@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s86FiAZc065666; Sat, 6 Sep 2014 15:44:10 GMT (envelope-from nox@FreeBSD.org) Message-Id: <201409061544.s86FiAZc065666@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: nox set sender to nox@FreeBSD.org using -f From: Juergen Lock Date: Sat, 6 Sep 2014 15:44:10 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r367444 - 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.18-1 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: Sat, 06 Sep 2014 15:44:10 -0000 Author: nox Date: Sat Sep 6 15:44:09 2014 New Revision: 367444 URL: http://svnweb.freebsd.org/changeset/ports/367444 QAT: https://qat.redports.org/buildarchive/r367444/ Log: - Integrate libv4l with webcamd regarding Webcam quirks. - Bump PORTREVISION. Submitted by: hselasky (maintainer) Modified: head/multimedia/libv4l/Makefile head/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c Modified: head/multimedia/libv4l/Makefile ============================================================================== --- head/multimedia/libv4l/Makefile Sat Sep 6 15:15:45 2014 (r367443) +++ head/multimedia/libv4l/Makefile Sat Sep 6 15:44:09 2014 (r367444) @@ -3,7 +3,7 @@ PORTNAME= libv4l PORTVERSION= 0.8.8 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= multimedia MASTER_SITES= http://linuxtv.org/downloads/v4l-utils/ DISTNAME= v4l-utils-${PORTVERSION} Modified: head/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c ============================================================================== --- head/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c Sat Sep 6 15:15:45 2014 (r367443) +++ head/multimedia/libv4l/files/patch-libv4lconvert_control_libv4lcontrol.c Sat Sep 6 15:44:09 2014 (r367444) @@ -1,5 +1,30 @@ --- libv4lconvert/control/libv4lcontrol.c.orig 2012-05-02 21:17:37.000000000 +0200 +++ libv4lconvert/control/libv4lcontrol.c 2012-05-06 08:52:42.000000000 +0200 +@@ -345,6 +345,16 @@ + unsigned short *vendor_id, unsigned short *product_id, + int *speed) + { ++#ifdef __FreeBSD__ ++#define WEBCAMD_IOCTL_GET_USB_VENDOR_ID _IOR('q', 250, unsigned short) ++#define WEBCAMD_IOCTL_GET_USB_PRODUCT_ID _IOR('q', 251, unsigned short) ++#define WEBCAMD_IOCTL_GET_USB_SPEED _IOR('q', 252, unsigned int) ++ if (ioctl(data->fd, WEBCAMD_IOCTL_GET_USB_VENDOR_ID, vendor_id) == 0 && ++ ioctl(data->fd, WEBCAMD_IOCTL_GET_USB_PRODUCT_ID, product_id) == 0 && ++ ioctl(data->fd, WEBCAMD_IOCTL_GET_USB_SPEED, speed) == 0) ++ return (1); ++ return (0); ++#else + FILE *f; + int i, minor; + struct stat st; +@@ -434,6 +444,7 @@ + return 0; /* Should never happen */ + + return 1; ++#endif + } + + /* @@ -456,7 +456,12 @@ while (isspace(*start)) start++; n = strlen(start);