Work around SNDCTL_DSP_GETBLKSIZE API incompatibility.
PR: ports/125542
This commit is contained in:
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
|
@ -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
|
||||
|
|
12
audio/oss/files/patch-kernel-framework-audio-audio_core.c
Normal file
12
audio/oss/files/patch-kernel-framework-audio-audio_core.c
Normal 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);
|
||||
|
Loading…
Reference in a new issue