pkgsrc/audio/alsa-lib/patches/patch-al
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
353 B
Text

$NetBSD: patch-al,v 1.1.1.1 2008/12/19 03:33:00 jmcneill Exp $
--- src/pcm/pcm_dmix.c.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_dmix.c
@@ -45,6 +45,10 @@
#include <sys/mman.h>
#include "pcm_direct.h"
+#ifndef EBADFD
+#define EBADFD EBADF
+#endif
+
#ifndef PIC
/* entry for static linking */
const char *_snd_module_pcm_dmix = "";