From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Oct 9 22:30:28 2012 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9346F35A for ; Tue, 9 Oct 2012 22:30:28 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [8.8.178.135]) by mx1.freebsd.org (Postfix) with ESMTP id 6BB258FC2D for ; Tue, 9 Oct 2012 22:30:28 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.5/8.14.5) with ESMTP id q99MUSpR043737 for ; Tue, 9 Oct 2012 22:30:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.5/8.14.5/Submit) id q99MUSHg043736; Tue, 9 Oct 2012 22:30:28 GMT (envelope-from gnats) Resent-Date: Tue, 9 Oct 2012 22:30:28 GMT Resent-Message-Id: <201210092230.q99MUSHg043736@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Ildar Hizbulin Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id EA50835B for ; Tue, 9 Oct 2012 11:12:34 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from red.freebsd.org (red.freebsd.org [IPv6:2001:4f8:fff6::22]) by mx1.freebsd.org (Postfix) with ESMTP id D15068FC08 for ; Tue, 9 Oct 2012 11:12:34 +0000 (UTC) Received: from red.freebsd.org (localhost [127.0.0.1]) by red.freebsd.org (8.14.5/8.14.5) with ESMTP id q99BCYwx038524 for ; Tue, 9 Oct 2012 11:12:34 GMT (envelope-from nobody@red.freebsd.org) Received: (from nobody@localhost) by red.freebsd.org (8.14.5/8.14.5/Submit) id q99BCYD7038523; Tue, 9 Oct 2012 11:12:34 GMT (envelope-from nobody) Message-Id: <201210091112.q99BCYD7038523@red.freebsd.org> Date: Tue, 9 Oct 2012 11:12:34 GMT From: Ildar Hizbulin To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/172552: [PATCH] multimedia/motion bktr driver not work after ports/169006 X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 09 Oct 2012 22:30:28 -0000 X-List-Received-Date: Tue, 09 Oct 2012 22:30:28 -0000 >Number: 172552 >Category: ports >Synopsis: [PATCH] multimedia/motion bktr driver not work after ports/169006 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Oct 09 22:30:27 UTC 2012 >Closed-Date: >Last-Modified: >Originator: Ildar Hizbulin >Release: 8.0-STABLE >Organization: Ariadna-Link, JSC >Environment: FreeBSD gg.vyborg.ru 8.0-STABLE FreeBSD 8.0-STABLE #5: Fri Dec 4 15:22:18 MSK 2009 root@gg.vyborg.ru:/usr/obj/usr/src/sys/GG i386 >Description: After ports/169006 changes port with BKTR option and without PWCBSD option build with parameter -DWITHOUT_V4L. But this WITHOUT_V4L parameter disable all video input BKTR and PWCBSD. The user sees: "You must setup netcam_url" like this http://www.lavrsen.dk/foswiki/bin/view/Motion/BugReport2012x07x27x023750 . Look code: https://github.com/sackmotion/motion/blob/master/video_freebsd.c#L1064 . >How-To-Repeat: build port multimedia/motion with video capture BKTR and without PWCBSD >Fix: Patch attached with submission follows: diff -ruN multimedia/motion.old/Makefile multimedia/motion/Makefile --- multimedia/motion.old/Makefile 2012-10-09 09:29:28.000000000 +0400 +++ multimedia/motion/Makefile 2012-10-09 10:55:09.000000000 +0400 @@ -7,6 +7,7 @@ PORTNAME= motion PORTVERSION= 3.2.12 +PORTREVISION= 1 CATEGORIES= multimedia MASTER_SITES= SF/${PORTNAME}/${PORTNAME}%20-%20${PORTVERSION:R}/${PORTVERSION} @@ -53,6 +54,9 @@ CONFIGURE_ARGS+=--with-pwcbsd .else CONFIGURE_ARGS+=--without-pwcbsd +.endif + +.if !${PORT_OPTIONS:MBKTR} && !${PORT_OPTIONS:MPWCBSD} CFLAGS+= -DWITHOUT_V4L .endif >Release-Note: >Audit-Trail: >Unformatted: