pkgsrc/audio/libao/patches/patch-af
wiz 1e4071e9e6 Update to 1.2.0:
1.2.0 - January 27, 2014
 - Added missing ao_file_extension() (see Trac #1841)
 - Fixed memory leak in ao_shutdown() (see Trac #1799)
 - Updated manpage libao.conf.5 (see Trac #1822)
 - Corrected doc/ao_play.html (see Trac #1808)
 - Latency adjustments
 - Implement PulseAudio client_name (see Trac #1924)
 - Other ALSA, Pulse, Roar, sndio and MacOS driver improvements
2014-02-06 18:37:07 +00:00

15 lines
376 B
Text

$NetBSD: patch-af,v 1.6 2014/02/06 18:37:08 wiz Exp $
--- src/plugins/alsa/ao_alsa.c.orig 2014-01-27 17:02:05.000000000 +0000
+++ src/plugins/alsa/ao_alsa.c
@@ -39,6 +39,10 @@
#include <alsa/asoundlib.h>
#include <ao/ao.h>
#include <ao/plugin.h>
+#ifndef ESTRPIPE
+#define ESTRPIPE EPIPE
+#endif
+
/* default 20 millisecond buffer */
#define AO_ALSA_BUFFER_TIME 20000