diff options
author | hasso <hasso> | 2009-02-26 18:00:34 +0000 |
---|---|---|
committer | hasso <hasso> | 2009-02-26 18:00:34 +0000 |
commit | 171a6ecffc93bd82e9d95ce76ca25efb01e964d4 (patch) | |
tree | a340b39a1337d35b351b913c7307df3e40c2bf9b /audio/akode/patches/patch-ab | |
parent | cf4519a1839d9a960e274c92eb8a6e032be70696 (diff) | |
download | pkgsrc-171a6ecffc93bd82e9d95ce76ca25efb01e964d4.tar.gz |
aKode is a simple audio decoding framework that provides a uniform interface
to decode the most common audio formats. It also has a direct playback option
for a number of audio outputs.
This package provides the aKode library and akodeplay testing utility.
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) + { |