freebsd-ports/audio/alsa-utils/files/patch-alsaloop__alsaloop.c
John Marino 46b7762a82 audio/alsa-(lib|plugins|utils): Upgrade version 1.0.27.2 => 1.0.28
Also switch maintainership to submitter with blessing of former
maintainer.  Other changes include:

  * fix for bug 191190
  * Use new options syntax
  * Proper detection of PYTHON and FFMPEG
  * fix leftovers
  * strip libraries to satisfy stage-qa
  * conf: alias surround stuff to pcm.default
  * lib: split patches and refactor
  * utils: rename XMLTO to MANPAGES

PR:		191524
Submitted by:	Jan Beich
Approved by:	former maintainer (Aragon Gouveia)
2014-08-09 15:20:35 +00:00

14 lines
408 B
C

--- alsaloop/alsaloop.c~
+++ alsaloop/alsaloop.c
@@ -760,7 +761,11 @@ static void thread_job1(void *_data)
snd_output_printf(output, "pool took %lius\n", timediff(tv2, tv1));
}
if (err < 0) {
+#ifdef ERESTART
if (err == -EINTR || err == -ERESTART)
+#else
+ if (err == -EINTR)
+#endif
continue;
logit(LOG_CRIT, "Poll failed: %s\n", strerror(-err));
my_exit(thread, EXIT_FAILURE);