1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00

Work around SNDCTL_DSP_GETBLKSIZE API incompatibility.

PR:		ports/125542
This commit is contained in:
Jung-uk Kim 2008-07-15 16:36:13 +00:00
parent c2f96767b8
commit 6c3440ddd0
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=216878
2 changed files with 13 additions and 0 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= oss
DISTVERSION= 4.0-build1016
PORTREVISION= 1
CATEGORIES= audio kld
MASTER_SITES= http://www.opensound.com/developer/sources/stable/bsd/
DISTNAME= ${PORTNAME}-v${DISTVERSION}-src-bsd

View File

@ -0,0 +1,12 @@
--- kernel/framework/audio/audio_core.c.orig 2008-07-14 22:48:00.000000000 -0400
+++ kernel/framework/audio/audio_core.c 2008-07-15 12:18:55.000000000 -0400
@@ -3584,6 +3584,9 @@
}
return 0;
+#ifdef __FreeBSD__
+ case __SIOR('P', 4, int):
+#endif
case SNDCTL_DSP_GETBLKSIZE:
return *arg = getblksize (adev);