From d8e1ce857bedb9d018ae0918b4c90686d604c2df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Andriot?= Date: Mon, 24 Jun 2013 19:58:32 +0200 Subject: RPM Packaging: add 3.5.13.2 build patches --- redhat/dependencies/arts/arts-3.5.13.2-debug.patch | 12 ++++++++++++ .../arts/arts-3.5.13.2-fix_esd_buffer.patch | 20 ++++++++++++++++++++ 2 files changed, 32 insertions(+) create mode 100644 redhat/dependencies/arts/arts-3.5.13.2-debug.patch create mode 100644 redhat/dependencies/arts/arts-3.5.13.2-fix_esd_buffer.patch (limited to 'redhat/dependencies') diff --git a/redhat/dependencies/arts/arts-3.5.13.2-debug.patch b/redhat/dependencies/arts/arts-3.5.13.2-debug.patch new file mode 100644 index 000000000..1925292ab --- /dev/null +++ b/redhat/dependencies/arts/arts-3.5.13.2-debug.patch @@ -0,0 +1,12 @@ +--- trinity-arts-3.5.13.2~pre15+85a8c7ad/flow/audioionull.cc.ORI 2013-05-26 13:35:39.081803512 +0200 ++++ trinity-arts-3.5.13.2~pre15+85a8c7ad/flow/audioionull.cc 2013-05-26 13:36:02.342333674 +0200 +@@ -133,6 +133,9 @@ + if((_direction & directionWrite) && getParam(canWrite) >= _fragmentSize) + todo |= AudioSubSystem::ioWrite; + ++ fprintf(stderr, "AudioIO: can write %d, fragment size %d, todo %d\n", ++ getParam(canWrite), _fragmentSize, todo); ++ + if(!todo) + return; + 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); -- cgit v1.2.1