aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/xawtv/xawtv-3.95/08_oss_audio.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/xawtv/xawtv-3.95/08_oss_audio.patch')
-rw-r--r--recipes/xawtv/xawtv-3.95/08_oss_audio.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/recipes/xawtv/xawtv-3.95/08_oss_audio.patch b/recipes/xawtv/xawtv-3.95/08_oss_audio.patch
new file mode 100644
index 0000000000..529fddbceb
--- /dev/null
+++ b/recipes/xawtv/xawtv-3.95/08_oss_audio.patch
@@ -0,0 +1,12 @@
+diff -urNad xawtv-3.95.dfsg.1~/libng/plugins/snd-oss.c xawtv-3.95.dfsg.1/libng/plugins/snd-oss.c
+--- xawtv-3.95.dfsg.1~/libng/plugins/snd-oss.c 2003-02-14 15:14:05.000000000 +0100
++++ xawtv-3.95.dfsg.1/libng/plugins/snd-oss.c 2007-07-28 23:43:41.000000000 +0200
+@@ -441,7 +441,7 @@
+ for (;;) {
+ rc = read(fd,buffer+count,blocksize-count);
+ if (rc < 0) {
+- if (EINTR == errno)
++ if ((EINTR == errno) || (EAGAIN == errno))
+ continue;
+ perror("oss: read");
+ exit(1);