svn commit: r376263 - head/audio/fluidsynth/files

Thomas Zander riggs at FreeBSD.org
Sun Jan 4 18:24:24 UTC 2015


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 at 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");


More information about the svn-ports-all mailing list