ports/157171: [patch] multimedia/cx88: add IGNORE tag and analog capture patch
Jason Harmening
jason.harmening at gmail.com
Thu May 19 00:10:11 UTC 2011
>Number: 157171
>Category: ports
>Synopsis: [patch] multimedia/cx88: add IGNORE tag and analog capture patch
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Thu May 19 00:10:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator: Jason Harmening
>Release: 7.4-STABLE
>Organization:
>Environment:
FreeBSD CORONA 7.4-STABLE FreeBSD 7.4-STABLE #0: Sun Apr 24 02:15:54 CDT 2011 jason at CORONA:/usr/obj/usr/src/sys/CUSTOM amd64
>Description:
--Add IGNORE tag for kernels that lack kmem_alloc_attr()
--Fix bug w/ analog audio slave captures
>How-To-Repeat:
>Fix:
Patch attached with submission follows:
diff -ruN cx88/Makefile /usr/ports/multimedia/cx88/Makefile
--- cx88/Makefile 2011-05-18 18:43:02.000000000 -0500
+++ /usr/ports/multimedia/cx88/Makefile 2011-05-18 12:05:58.000000000 -0500
@@ -2,11 +2,12 @@
# Date created: 7 September 2008
# Whom: jah
#
-# $FreeBSD: ports/multimedia/cx88/Makefile,v 1.13 2011/05/16 08:14:46 culot Exp $
+# $FreeBSD$
#
PORTNAME= cx88
PORTVERSION= 1.3.1
+PORTREVISION= 1
CATEGORIES= multimedia kld
MASTER_SITES= ftp://corona.homeunix.net/ports/cx88/
@@ -32,4 +33,10 @@
IGNORE= requires kernel source files
.endif
+KMEM_ALLOC_ATTR != ${GREP} -r "kmem_alloc_attr" ${SRC_BASE}/sys
+
+.if ${KMEM_ALLOC_ATTR} == ""
+IGNORE= requires kernel support for kmem_alloc_attr() (FreeBSD 7.4+, FreeBSD 8.1+)
+.endif
+
.include <bsd.port.post.mk>
diff -ruN cx88/files/patch-client-analog-cx88__analog__driver.cpp /usr/ports/multimedia/cx88/files/patch-client-analog-cx88__analog__driver.cpp
--- cx88/files/patch-client-analog-cx88__analog__driver.cpp 1969-12-31 18:00:00.000000000 -0600
+++ /usr/ports/multimedia/cx88/files/patch-client-analog-cx88__analog__driver.cpp 2011-05-17 04:36:01.000000000 -0500
@@ -0,0 +1,15 @@
+Index: client/analog/cx88_analog_driver.cpp
+===================================================================
+--- client/analog/cx88_analog_driver.cpp (revision 562)
++++ client/analog/cx88_analog_driver.cpp (working copy)
+@@ -133,10 +133,6 @@
+ error = m_pip_driver->start(slave_pip_params);
+ }
+ }
+- if (m_slave_mode)
+- {
+- wait_for_event(0);
+- }
+ if (m_mode == CX88_ANALOG_MODE_VIDEO)
+ {
+ error = (error ? error : capture_video(params));
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list