diff options
Diffstat (limited to 'audio/alsa-utils/files/patch-alsaloop_alsaloop.c')
-rw-r--r-- | audio/alsa-utils/files/patch-alsaloop_alsaloop.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/audio/alsa-utils/files/patch-alsaloop_alsaloop.c b/audio/alsa-utils/files/patch-alsaloop_alsaloop.c new file mode 100644 index 000000000000..f3a9c4d7e908 --- /dev/null +++ b/audio/alsa-utils/files/patch-alsaloop_alsaloop.c @@ -0,0 +1,14 @@ +--- 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); |