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

$NetBSD: patch-aq,v 1.1.1.1 2008/12/19 03:33:00 jmcneill Exp $
--- src/pcm/pcm_hw.c.orig 2008-10-29 08:42:10.000000000 -0400
+++ src/pcm/pcm_hw.c
@@ -41,6 +41,10 @@
#include "../control/control_local.h"
#include "../timer/timer_local.h"
+#ifndef EBADFD
+#define EBADFD EBADF
+#endif
+
//#define DEBUG_RW /* use to debug readi/writei/readn/writen */
//#define DEBUG_MMAP /* debug mmap_commit */