Dear maintainer,

Here is the NMU diff according to DevRef 5.11.1[1][2] for bug: #563192.
See the debian/patches directory for the important fixes.

Please let me know if it's okay to proceed with this NMU.  Feel free to
contact if you have any questions.

Thank you for maintaining the package,
Jari Aalto

[1] http://www.debian.org/doc/developers-reference/pkgs.html#nmu
[2] http://dep.debian.net/deps/dep1.html

lsdiff(1) of changes:

    portaudio19-19+svn20071022/debian/changelog
    portaudio19-19+svn20071022/debian/patches/00list
    portaudio19-19+svn20071022/debian/patches/20_error_handler.dpatch

diffstat for portaudio19_19+svn20071022-3 portaudio19_19+svn20071022-3.1

 debian/patches/20_error_handler.dpatch           |   25 +++++++++++++++++++++++
 portaudio19-19+svn20071022/debian/changelog      |    9 ++++++++
 portaudio19-19+svn20071022/debian/patches/00list |    3 +-
 3 files changed, 36 insertions(+), 1 deletion(-)

diff -u portaudio19-19+svn20071022/debian/changelog portaudio19-19+svn20071022/debian/changelog
--- portaudio19-19+svn20071022/debian/changelog
+++ portaudio19-19+svn20071022/debian/changelog
@@ -1,3 +1,12 @@
+portaudio19 (19+svn20071022-3.1) unstable; urgency=medium
+
+  * debian/patches
+    - (20): New. Do not define error handler because ALSA's default error
+      handler prints errors to stderr. Patch tanks to Marcelo E. Magallon
+      <mmaga...@debian.org>. (grave; Closes: #563192).
+
+ -- Jari Aalto <jari.aa...@cante.net>  Fri, 15 Oct 2010 11:16:58 +0300
+
 portaudio19 (19+svn20071022-3) unstable; urgency=low
 
   [ Patrick Matthäi ]
diff -u portaudio19-19+svn20071022/debian/patches/00list portaudio19-19+svn20071022/debian/patches/00list
--- portaudio19-19+svn20071022/debian/patches/00list
+++ portaudio19-19+svn20071022/debian/patches/00list
@@ -1 +1,2 @@
-01_config
+01_config.dpatch
+20_error_handler.dpatch
only in patch2:
unchanged:
--- portaudio19-19+svn20071022.orig/debian/patches/20_error_handler.dpatch
+++ portaudio19-19+svn20071022/debian/patches/20_error_handler.dpatch
@@ -0,0 +1,25 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## /tmp/error-handler.patch.dpatch by jaalto <jari.aa...@cante.net>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: 
+## DP: Author: Jari Aalto <jari.aa...@cante.net>
+## DP: 
+## DP: 
+## DP:     src/hostapi/alsa/pa_linux_alsa.c: snd_lib_error_set_handler set NULL
+
+...@dpatch@
+
+diff --git a/src/hostapi/alsa/pa_linux_alsa.c b/src/hostapi/alsa/pa_linux_alsa.c
+index 0842bb4..665be18 100644
+--- a/src/hostapi/alsa/pa_linux_alsa.c
++++ b/src/hostapi/alsa/pa_linux_alsa.c
+@@ -304,6 +304,8 @@ static void Terminate( struct PaUtilHostApiRepresentation *hostApi )
+ 
+     assert( hostApi );
+ 
++    snd_lib_error_set_handler(NULL);
++
+     if( alsaHostApi->allocations )
+     {
+         PaUtil_FreeAllAllocations( alsaHostApi->allocations );

Reply via email to