diff options
Diffstat (limited to 'audio/akode/patches/patch-ab')
-rw-r--r-- | audio/akode/patches/patch-ab | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/audio/akode/patches/patch-ab b/audio/akode/patches/patch-ab new file mode 100644 index 00000000000..9b8adb213b2 --- /dev/null +++ b/audio/akode/patches/patch-ab @@ -0,0 +1,30 @@ +$NetBSD: patch-ab,v 1.1.1.1 2009/02/26 18:00:34 hasso Exp $ + +--- akode/plugins/sun_sink/sun_sink.cpp.orig 2008-12-06 21:32:50 +0200 ++++ akode/plugins/sun_sink/sun_sink.cpp 2008-12-06 21:39:31 +0200 +@@ -20,13 +20,14 @@ + + #include <config.h> + ++#include <sys/types.h> ++#include <sys/ioctl.h> + #include <sys/audioio.h> + +-#include <sys/ioctl.h> + #include <errno.h> + #include <fcntl.h> ++#include <string.h> + #include <unistd.h> +-#include <alloca.h> + + #include <audioframe.h> + #include "sun_sink.h" +@@ -97,7 +98,7 @@ int SunSink::setAudioConfiguration(const + { + d->config = *config; + +- AUDIO_INITINFO(&d->auinfo) ++ AUDIO_INITINFO(&d->auinfo); + + if (ioctl(d->audio_fd, AUDIO_GETINFO, &d->auinfo) < 0) + { |