summaryrefslogtreecommitdiffstats
path: root/media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch
diff options
context:
space:
mode:
authorSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
committerSuren A. Chilingaryan <csa@suren.me>2019-09-01 00:00:32 +0200
commitca9627e70852f6b2e835660df870fe3ab405882d (patch)
tree0a008b1d5b16fa0679a195ed7b5662c7891f591c /media-plugins/xmms-arts/files/xmms-arts-0.7.1-eintr.patch
downloaddarklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.gz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.bz2
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.tar.xz
darklin4-ca9627e70852f6b2e835660df870fe3ab405882d.zip
Initial import
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.patch15
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;