[Pkg-pulseaudio-devel] [SCM] pulseaudio packaging branch, master, updated. debian/0.9.10-2-1-g503824c

sjoerd at users.alioth.debian.org sjoerd at users.alioth.debian.org
Sun Aug 3 13:53:25 UTC 2008


The branch, master has been updated
       via  503824cb69ecba2a97a90e819ea14769fd9281a9 (commit)
      from  60e9eef4f6bce85085d8c62812bd9dcc8a94e57c (commit)


- Shortlog ------------------------------------------------------------
503824c debian/patches/0006-fix-iteration-over-random-devices.patch

Summary of changes:
 debian/changelog                                   |    8 ++++++
 .../0006-fix-iteration-over-random-devices.patch   |   25 ++++++++++++++++++++
 debian/patches/series                              |    1 +
 3 files changed, 34 insertions(+), 0 deletions(-)
-----------------------------------------------------------------------
Details of changes:

commit 503824cb69ecba2a97a90e819ea14769fd9281a9
Author: Sjoerd Simons <sjoerd at luon.net>
Date:   Sun Aug 3 13:24:52 2008 +0100

    debian/patches/0006-fix-iteration-over-random-devices.patch
    
    * debian/patches/0006-fix-iteration-over-random-devices.patch
      - Added. Iterate over the various random devices if opening fails
        (Closes: #491270)

diff --git a/debian/changelog b/debian/changelog
index 14d9d3e..dd8bf90 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,11 @@
+pulseaudio (0.9.10-3) UNRELEASED; urgency=low
+
+  * debian/patches/0006-fix-iteration-over-random-devices.patch
+    - Added. Iterate over the various random devices if opening fails
+      (Closes: #491270)
+
+ -- Sjoerd Simons <sjoerd at debian.org>  Sun, 03 Aug 2008 13:01:38 +0100
+
 pulseaudio (0.9.10-2) unstable; urgency=low
 
   * debian/patches/0003-Define-PULSE_INTERNAL.patch
diff --git a/debian/patches/0006-fix-iteration-over-random-devices.patch b/debian/patches/0006-fix-iteration-over-random-devices.patch
new file mode 100644
index 0000000..bc57578
--- /dev/null
+++ b/debian/patches/0006-fix-iteration-over-random-devices.patch
@@ -0,0 +1,25 @@
+From 78c55228a18940134a4e811ed8249fc365587cb4 Mon Sep 17 00:00:00 2001
+From: Sjoerd Simons <sjoerd at luon.net>
+Date: Sun, 3 Aug 2008 12:29:18 +0100
+Subject: [PATCH] fix iteration over random devices
+
+Actually iterate over the various random devices. Fixes a infinite loop on
+startup when /dev/urandom isn't readable. Patch by Matt Kraai on Debian bug
+491270, closes #333
+---
+ src/pulsecore/random.c |    2 ++
+ 1 files changed, 2 insertions(+), 0 deletions(-)
+
+diff --git a/src/pulsecore/random.c b/src/pulsecore/random.c
+index c72876e..ff73532 100644
+--- a/src/pulsecore/random.c
++++ b/src/pulsecore/random.c
+@@ -75,6 +75,8 @@ static int random_proper(void *ret_data, size_t length) {
+ 
+         if (ret == 0)
+             break;
++
++        device++;
+     }
+ 
+     return ret;
diff --git a/debian/patches/series b/debian/patches/series
index 9e5b23d..2838e4b 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -3,3 +3,4 @@
 0003-Define-PULSE_INTERNAL.patch
 0004-load-module-gconf-earlier.patch
 0005-Reduce-RT-prio-logging-severity.patch
+0006-fix-iteration-over-random-devices.patch

-- 
pulseaudio packaging



More information about the Pkg-pulseaudio-devel mailing list