diff options
Diffstat (limited to 'media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch')
-rw-r--r-- | media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch b/media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch new file mode 100644 index 0000000..96a28d5 --- /dev/null +++ b/media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch @@ -0,0 +1,15 @@ +--- audio.c.old 2005-01-09 13:32:09.629042808 +0100 ++++ audio.c 2005-01-09 13:32:59.646439008 +0100 +@@ -86,8 +86,12 @@ + timeout.tv_sec = 10; + timeout.tv_usec = 0; + ++again: + sr = select(fd + 1, &rdfs, NULL, NULL, &timeout); + if (sr < 0) { ++ if(errno==EINTR) { ++ goto again; ++ } + g_message("wait_for_helper(): select failed: %s", + strerror(errno)); + return -1; |