freebsd-ports/audio/alsa-utils/files/patch-alsaloop_alsaloop.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

14 lines
436 B
C

--- alsaloop/alsaloop.c.orig 2016-03-31 14:37:02 UTC
+++ alsaloop/alsaloop.c
@@ -760,7 +760,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);