diff options
author | jkim <jkim@FreeBSD.org> | 2008-07-16 00:36:13 +0800 |
---|---|---|
committer | jkim <jkim@FreeBSD.org> | 2008-07-16 00:36:13 +0800 |
commit | 5deb3509c1149cffef827d6748e23a4fc07561b3 (patch) | |
tree | ea077c0846ba990f35a8be2d0bd4d84987170ee8 /audio/oss/files | |
parent | 362fd143059e16051b77b42559213e4223e2ece6 (diff) | |
download | freebsd-ports-gnome-5deb3509c1149cffef827d6748e23a4fc07561b3.tar.gz freebsd-ports-gnome-5deb3509c1149cffef827d6748e23a4fc07561b3.tar.zst freebsd-ports-gnome-5deb3509c1149cffef827d6748e23a4fc07561b3.zip |
Work around SNDCTL_DSP_GETBLKSIZE API incompatibility.
PR: ports/125542
Diffstat (limited to 'audio/oss/files')
-rw-r--r-- | audio/oss/files/patch-kernel-framework-audio-audio_core.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/oss/files/patch-kernel-framework-audio-audio_core.c b/audio/oss/files/patch-kernel-framework-audio-audio_core.c new file mode 100644 index 000000000000..67e2c9a22e7b --- /dev/null +++ b/audio/oss/files/patch-kernel-framework-audio-audio_core.c @@ -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); + |