diff options
Diffstat (limited to 'x11-drivers/xlibre-xf86-video-qxl/files/patch-spiceqxl_audio.c')
| -rw-r--r-- | x11-drivers/xlibre-xf86-video-qxl/files/patch-spiceqxl_audio.c | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/x11-drivers/xlibre-xf86-video-qxl/files/patch-spiceqxl_audio.c b/x11-drivers/xlibre-xf86-video-qxl/files/patch-spiceqxl_audio.c new file mode 100644 index 000000000000..9ba92890929e --- /dev/null +++ b/x11-drivers/xlibre-xf86-video-qxl/files/patch-spiceqxl_audio.c @@ -0,0 +1,14 @@ +--- src/spiceqxl_audio.c.bak 2017-09-12 12:00:11 UTC ++++ src/spiceqxl_audio.c +@@ -410,7 +410,10 @@ + strcat(fname, "/"); + strcat(fname, e->name); + +- f->fd = open(fname, O_RDONLY | O_RSYNC | O_NONBLOCK); ++// f->fd = open(fname, O_RDONLY | O_RSYNC | O_NONBLOCK); ++ // POSIX specifies three different flavors for synchronous I/O: O_SYNC, O_DSYNC, and O_RSYNC. ++ // In BSD, these are all equivalent. ++ f->fd = open(fname, O_RDONLY | O_SYNC | O_NONBLOCK); + free(fname); + if (f->fd < 0) { + ErrorF("playback: open FIFO '%s' failed: %s\n", e->name, strerror(errno)); |
