Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 4 Jan 2015 18:24:23 +0000 (UTC)
From:      Thomas Zander <riggs@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r376263 - head/audio/fluidsynth/files
Message-ID:  <201501041824.t04IONQj074815@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: riggs
Date: Sun Jan  4 18:24:22 2015
New Revision: 376263
URL: https://svnweb.freebsd.org/changeset/ports/376263
QAT: https://qat.redports.org/buildarchive/r376263/

Log:
  Fix build failure with non-default ALSA option
  
  PR:		196163
  Submitted by:	mi@ALDAN.algebra.com
  MFH:		2015Q1

Added:
  head/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c   (contents, props changed)

Added: head/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/fluidsynth/files/patch-src__drivers__fluid_alsa.c	Sun Jan  4 18:24:22 2015	(r376263)
@@ -0,0 +1,17 @@
+--- src/drivers/fluid_alsa.c	2012-08-16 00:01:13.000000000 -0400
++++ src/drivers/fluid_alsa.c	2014-12-20 12:59:44.000000000 -0500
+@@ -348,5 +348,4 @@
+     snd_pcm_wait(pcm, 1);
+     break;
+-  case -EPIPE:
+   case -EBADFD:
+     if (snd_pcm_prepare(pcm) != 0) {
+@@ -355,5 +354,8 @@
+     }
+     break;
++  case -EPIPE:
++#if EPIPE != ESTRPIPE
+   case -ESTRPIPE:
++#endif
+     if ((snd_pcm_resume(pcm) != 0) && (snd_pcm_prepare(pcm) != 0)) {
+       FLUID_LOG(FLUID_ERR, "Failed to resume the audio device");



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201501041824.t04IONQj074815>