summaryrefslogtreecommitdiffstats
path: root/redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:58:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:58:32 +0200
commitd8e1ce857bedb9d018ae0918b4c90686d604c2df (patch)
tree111a8759c0599ce2be8d25946d21dee4f69923b9 /redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch
parent8743b3f65cd27e30aefe49f127105aa305a86051 (diff)
downloadtde-packaging-d8e1ce857bedb9d018ae0918b4c90686d604c2df.tar.gz
tde-packaging-d8e1ce857bedb9d018ae0918b4c90686d604c2df.zip
RPM Packaging: add 3.5.13.2 build patches
Diffstat (limited to 'redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch')
-rw-r--r--redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch b/redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch
new file mode 100644
index 000000000..c60be93f0
--- /dev/null
+++ b/redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch
@@ -0,0 +1,20 @@
+diff -Nuar trinity-arts-3.5.13.2.ORI/flow/audioioesd.cc trinity-arts-3.5.13.2.P/flow/audioioesd.cc
+--- trinity-arts-3.5.13.2.ORI/flow/audioioesd.cc 2013-04-08 19:05:22.665624664 +0200
++++ trinity-arts-3.5.13.2.P/flow/audioioesd.cc 2013-04-08 23:58:07.905872271 +0200
+@@ -204,14 +204,10 @@
+ return write_fd;
+
+ case canRead:
+- return ESD_BUF_SIZE;
++ return param(fragmentSize);
+
+ case canWrite:
+- return ESD_BUF_SIZE;
+-
+- // ESD handles are actually socket descriptors, and I know not
+- // of any portable way to peek at the socket's send or receive
+- // buffers.
++ return param(fragmentSize);
+
+ default:
+ return param(p);