pkgsrc/audio/alsa-lib/patches/patch-av
jmcneill 693b8fdbcc Import alsa-lib version 1.0.18.
The Advanced Linux Sound Architecture (ALSA) provides audio and MIDI
functionality to the Linux operating system. ALSA has the following
significant features:

    * Efficient support for all types of audio interfaces, from consumer sound
      cards to professional multichannel audio interfaces.
    * Fully modularized sound drivers.
    * SMP and thread-safe design.
    * User space library (alsa-lib) to simplify application programming and
      provide higher level functionality.
    * Support for the older Open Sound System (OSS) API, providing binary
      compatibility for most OSS programs.
2008-12-19 03:33:00 +00:00

15 lines
513 B
Text

$NetBSD: patch-av,v 1.1.1.1 2008/12/19 03:33:00 jmcneill Exp $
--- src/pcm/pcm_local.h.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_local.h
@@ -393,6 +393,10 @@ int _snd_pcm_poll_descriptor(snd_pcm_t *
#define _snd_pcm_link_descriptor _snd_pcm_poll_descriptor /* FIXME */
#define _snd_pcm_async_descriptor _snd_pcm_poll_descriptor /* FIXME */
+#ifndef ESTRPIPE
+#define ESTRPIPE EPIPE
+#endif
+
/* handle special error cases */
static inline int snd_pcm_check_error(snd_pcm_t *pcm, int err)
{