1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

- Add IGNORE tag for kernels that lack kmem_alloc_attr()

- Fix bug w/ analog audio slave captures
- Bump PORTREVISION

PR:		ports/157171
Submitted by:	Jason Harmening <jason.harmening@gmail.com> (maintainer)
This commit is contained in:
Frederic Culot 2011-05-19 08:11:35 +00:00
parent 4307919176
commit fcb34c7b62
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=274293
2 changed files with 22 additions and 0 deletions

View File

@ -7,6 +7,7 @@
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 FreeBSD 7.0-RELEASE or later
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>

View File

@ -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));