pkgsrc/multimedia/kdemultimedia3/patches/patch-am
joerg 53a07c7b49 Fix OSS audio mixer on DragonFly. Kill a malloc.h include.
Based on patch from wa1ter@myrealbox.com on DragonFly's user list.
Bump revision.
2006-05-10 23:05:00 +00:00

13 lines
422 B
Text

$NetBSD: patch-am,v 1.3 2006/05/10 23:05:00 joerg Exp $
--- kmix/mixer_oss.cpp.orig 2006-05-10 20:07:25.000000000 +0000
+++ kmix/mixer_oss.cpp
@@ -150,7 +150,7 @@ int Mixer_OSS::open()
writeVolumeToHW( idx, md->getVolume() );
}
-#if !defined(__FreeBSD__)
+#if defined(SOUND_MIXER_INFO)
struct mixer_info l_mix_info;
if (ioctl(m_fd, SOUND_MIXER_INFO, &l_mix_info) != -1)
{